-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.py
67 lines (58 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
59
60
61
62
63
64
65
66
67
"""
An atasks setuptools based setup module.
"""
# To use a consistent encoding
from codecs import open
from os import path
# Always prefer setuptools over distutils
from setuptools import find_packages, setup
here = path.abspath(path.dirname(__file__))
# Get the long description from the README file
with open(path.join(here, 'README.rst'), encoding='utf-8') as f:
long_description = f.read()
# Get the requirements from the pip-requirements.txt file
with open(path.join(here, 'requirements.txt'), encoding='utf-8') as f:
requirements = [l for l in f.read().split() if l]
from atasks import __version__ as version
setup(
name='atasks',
version=version,
packages=[
'atasks',
'atasks.transport',
'atasks.transport.backends',
'django_atasks',
'django_atasks.management',
'django_atasks.management.commands',
],
platforms='any',
install_requires=requirements,
extras_require={
'django': [
'django>=2.0',
],
'test': [
'django>=2.0',
'flake8',
'wrapt',
'tox',
'isort',
'pydocstyle',
],
},
include_package_data=True,
data_files=[('.', ['requirements.txt'])],
license='LGPL',
description='ATasks executes async Tasks in separate processes distributed among a network.',
long_description=long_description,
url='',
zip_safe=False,
author='Vsevolod Novikov',
author_email='nnseva@gmail.com',
classifiers=[
'Development Status :: Beta',
'Framework :: Django',
'Programming Language :: Python :: 3',
'Topic :: Development Tools'
],
)