forked from ReadAlongs/Studio
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathsetup.py
More file actions
28 lines (22 loc) · 759 Bytes
/
setup.py
File metadata and controls
28 lines (22 loc) · 759 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
import datetime as dt
import os
from setuptools import find_packages, setup
import readalongs
build_no = dt.datetime.today().strftime("%Y%m%d")
version_path = os.path.join(os.path.dirname(readalongs.__file__), "_version.py")
VERSION = readalongs.VERSION + "." + build_no
with open(version_path, "w") as f:
print(f'__version__ = "{VERSION}"', file=f)
with open("requirements.txt") as f:
required = f.read().splitlines()
setup(
name="readalongs",
python_requires=">=3.6",
version=VERSION,
long_description="ReadAlong Studio",
packages=find_packages(exclude=["test"]),
include_package_data=True,
zip_safe=False,
install_requires=required,
entry_points={"console_scripts": ["readalongs = readalongs.cli:cli"]},
)