forked from amrali/atp
-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.py
52 lines (44 loc) · 1.49 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
#!/usr/bin/env python
# Copyright 2013 Amr Ali
# See LICENSE file for details.
__author__ = "Amr Ali"
__copyright__ = "Copyright 2013 Amr Ali"
__license__ = "GPLv3+"
__email__ = "amr.ali.cc@gmail.com"
# Make sure setuptools is installed
from distribute_setup import use_setuptools
use_setuptools()
import os
from setuptools import setup, find_packages
from atp import __version__
BASE_DIR = os.path.dirname(__file__)
README_PATH = os.path.join(BASE_DIR, 'README.rst')
REQS_PATH = os.path.join(BASE_DIR, 'requirements.txt')
with open(README_PATH, 'rb') as fd:
README = fd.read()
classifiers = [
'License :: OSI Approved :: GNU General Public License v3 or later (GPLv3+)',
'Operating System :: OS Independent',
'Programming Language :: Python',
'Natural Language :: English',
'Intended Audience :: Developers',
'Intended Audience :: Information Technology',
'Programming Language :: Python :: 2',
'Programming Language :: Python :: 2.7',
]
setup(
name = 'atp',
version = __version__,
description = 'An adaptive thread pool implementation',
long_description = README,
author = 'Amr Ali',
author_email = 'amr.ali.cc@gmail.com',
maintainer = 'Amr Ali',
maintainer_email = 'amr.ali.cc@gmail.com',
url = 'https://github.com/amrali/atp',
packages = find_packages(),
test_suite = 'atp.load_test_suite',
license = 'GPLv3+',
platforms = 'Posix',
classifiers = classifiers,
)