-
Notifications
You must be signed in to change notification settings - Fork 58
/
setup.py
61 lines (53 loc) · 1.74 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
from pathlib import Path
from setuptools import find_packages, setup
with open(
Path(__file__).parent.resolve() / "director" / "VERSION", encoding="utf-8"
) as ver:
version = ver.readline().rstrip()
with open("requirements.txt", encoding="utf-8") as req:
requirements = [r.rstrip() for r in req.readlines()]
long_description = ""
try:
with open("README.md", encoding="utf-8") as readme:
long_description = readme.read()
except FileNotFoundError:
pass
dev_requirements = [
"tox==3.5.3",
"black==22.3.0",
]
doc_requirements = ["mkdocs==1.3.0", "mkdocs-material==8.2.9"]
setup(
name="celery-director",
version=version,
description="Celery Director",
long_description=long_description,
long_description_content_type="text/markdown",
license="BSD",
author="OVHcloud",
author_email="[email protected]",
url="https://github.com/ovh/celery-director",
packages=find_packages(),
install_requires=requirements,
extras_require={
"dev": dev_requirements,
"ci": ["pytest", "pytest-cov"],
"doc": doc_requirements,
},
include_package_data=True,
entry_points={"console_scripts": ["director=director.cli:cli"],},
classifiers=[
"Development Status :: 4 - Beta",
"Environment :: Console",
"Environment :: Web Environment",
"Intended Audience :: Developers",
"License :: OSI Approved :: BSD License",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Topic :: System :: Monitoring",
],
python_requires="~=3.8",
)