-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.py
49 lines (44 loc) · 1.51 KB
/
setup.py
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
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
from setuptools import setup, find_packages
from zero.version import __version__ as version
import os
import sys
readme_file = os.path.join(os.path.dirname(__file__), "README.md")
with open(readme_file, "r") as fh:
long_description = fh.read()
# required lib
install_requires = ["typer", "docker", "python-dotenv", "PyYAML"]
if sys.version_info.major >= 3 and sys.version_info.minor < 11:
install_requires.extend(["StrEnum"]) # StrEnum breaking changes in py>=3.11
setup(
name="nyun",
version=version,
author="NyunAI",
author_email="[email protected]",
description="A CLI package with 'init' and 'run' commands",
long_description=long_description,
long_description_content_type="text/markdown",
url="https://github.com/nyunAI/nyunzero-cli.git",
packages=find_packages(),
package_data={
"zero": ["services/*"],
},
include_package_data=True,
python_requires=">=3.8, <=3.11",
install_requires=install_requires,
entry_points={
"console_scripts": [
"nyun=zero.cli:app",
],
},
extras_require={},
classifiers=[
"Development Status :: 3 - Alpha",
"Intended Audience :: Developers",
"License :: OSI Approved :: GNU General Public License v3 (GPLv3)",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
],
)