/
setup.py
executable file
·58 lines (46 loc) · 1.67 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
#!/usr/bin/env python3
"""
package / install
"""
import setuptools
# https://packaging.python.org/guides/single-sourcing-package-version/
# set __version__ by read & exec of the python code
# this is better than an import that would otherwise try to
# import the whole package, and fail if a required module is not yet there
from pathlib import Path # pylint: disable=c0411
VERSION_FILE = Path(__file__).parent / "asynciojobs" / "version.py"
ENV = {}
with VERSION_FILE.open() as f:
exec(f.read(), ENV) # pylint: disable=w0122
__version__ = ENV['__version__']
with open("sphinx/README.md") as feed:
LONG_DESCRIPTION = feed.read()
setuptools.setup(
name="asynciojobs",
author="Thierry Parmentelat",
author_email="thierry.parmentelat@inria.fr",
description="A simplistic orchestration engine for asyncio-based jobs",
long_description=LONG_DESCRIPTION,
long_description_content_type = "text/markdown",
license="CC BY-SA 4.0",
keywords=['asyncio', 'dependency', 'dependencies',
'jobs', 'scheduling', 'orchestration'],
packages=['asynciojobs'],
version=__version__,
python_requires='>=3.5',
#install_requires=[],
extras_require={
'graph': ['graphviz'],
'ordered': ['orderedset'],
},
project_urls={
'source': 'http://github.com/parmentelat/asynciojobs',
'documentation': 'http://asynciojobs.readthedocs.io/',
},
classifiers=[
"Development Status :: 4 - Beta",
"Environment :: Console",
"Intended Audience :: Information Technology",
"Programming Language :: Python :: 3.9",
],
)