-
Notifications
You must be signed in to change notification settings - Fork 5
/
Copy pathsetup.py
54 lines (43 loc) · 1.65 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
import os
from setuptools import setup, find_packages, Extension
import sys
py_version = sys.version_info[:2]
if py_version < (2, 6):
raise RuntimeError('On Python 2, Flower requires Python 2.6 or better')
CLASSIFIERS = [
'Development Status :: 4 - Beta',
'Environment :: Web Environment',
'Intended Audience :: Developers',
'License :: OSI Approved :: MIT License',
'Operating System :: OS Independent',
'Programming Language :: Python',
'Programming Language :: Python :: 2',
'Programming Language :: Python :: 2.6',
'Programming Language :: Python :: 2.7',
'Programming Language :: Python :: 3',
'Programming Language :: Python :: 3.0',
'Programming Language :: Python :: 3.1',
'Programming Language :: Python :: 3.2',
'Topic :: Software Development :: Libraries']
# read long description
with open(os.path.join(os.path.dirname(__file__), 'README.rst')) as f:
long_description = f.read()
DATA_FILES = [
('flower', ["LICENSE", "MANIFEST.in", "NOTICE", "README.rst",
"THANKS", "UNLICENSE"])
]
setup(name='tulip',
version='0.1.0',
description = 'collection of modules to build distributed and reliable concurrent systems',
long_description = long_description,
classifiers = CLASSIFIERS,
license = 'BSD',
url = 'http://github.com/benoitc/flower',
author = 'Benoit Chesneau',
author_email = '[email protected]',
packages=find_packages(),
ext_modules = [
Extension("flower.core.sync", ["flower/core/sync.c"])
],
install_requires = ['pyuv', 'greenlet', 'six'],
data_files = DATA_FILES)