forked from ovh/celery-director
-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.py
59 lines (51 loc) · 1.64 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
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==19.10b0",
]
doc_requirements = ["mkdocs==1.0.4", "mkdocs-material==4.6.3"]
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.6",
"Programming Language :: Python :: 3.7",
"Topic :: System :: Monitoring",
],
python_requires="~=3.6",
)