-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathsetup.py
75 lines (64 loc) · 2.07 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
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
from os import path
from setuptools import setup
from setuptools import find_packages
from pathlib import Path
import autosubmit_api
current_path = path.abspath(path.dirname(__file__))
# read the contents of your README file
this_directory = Path(__file__).parent
long_description = (this_directory / "README.md").read_text()
def get_version():
return autosubmit_api.__version__
def get_authors():
return autosubmit_api.__author__
install_requires = [
"fastapi[all]==0.115.0",
"pyjwt~=2.8.0",
"requests~=2.28.1",
"bscearth.utils~=0.5.2",
"pydotplus~=2.0.2",
"portalocker~=2.6.0",
"networkx<=2.6.3",
"scipy~=1.11.4",
"python-dotenv~=1.0.1",
"autosubmitconfigparser>=1.0.72",
"APScheduler~=3.10.4",
"gunicorn~=22.0.0",
"pydantic~=2.5.2",
"SQLAlchemy~=2.0.23",
"python-cas~=1.6.0",
"autosubmit==4.1.11",
]
# Test dependencies
test_requires = ["pytest", "pytest-cov", "pytest-asyncio", "ruff"]
extras_require = {"test": test_requires, "all": install_requires + test_requires}
setup(
name="autosubmit_api",
version=get_version(),
description="An extension to the Autosubmit package that serves its information as an API",
long_description=long_description,
long_description_content_type="text/markdown",
url="https://github.com/BSC-ES/autosubmit-api",
author=get_authors(),
author_email="[email protected]",
license="GNU GPL",
packages=find_packages(),
keywords=["autosubmit", "API"],
python_requires=">=3.9",
install_requires=install_requires,
extras_require=extras_require,
include_package_data=True,
package_data={"autosubmit-api": ["README", "VERSION", "LICENSE"]},
classifiers=[
"Development Status :: 4 - Beta",
"Intended Audience :: Developers",
"License :: OSI Approved :: GNU General Public License v3 (GPLv3)",
"Operating System :: POSIX :: Linux",
"Programming Language :: Python :: 3.9",
],
entry_points={
"console_scripts": [
"autosubmit_api = autosubmit_api.cli:main",
]
},
)