forked from wellcomecollection/python-gearman
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsetup.py
executable file
·49 lines (37 loc) · 1.41 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
#!/usr/bin/env python
import os
from setuptools import setup
def local_file(name):
return os.path.relpath(os.path.join(os.path.dirname(__file__), name))
SOURCE = local_file('gearman')
README = local_file('README.rst')
# Assignment to placate pyflakes. The actual version is from the exec that
# follows.
__version__ = None
with open(local_file('gearman/version.py')) as o:
exec(o.read())
assert __version__ is not None
setup(
name = 'gearman3',
version = __version__,
author = 'Wellcome Digital Platform',
author_email = '[email protected]',
description = 'A Python 3 fork of the Gearman API - Client, worker, and admin client interfaces',
long_description=open(README).read(),
url = 'https://github.com/wellcometrust/python-gearman',
packages = ['gearman'],
license='Apache / MIT',
classifiers = [
'Development Status :: 5 - Production/Stable',
'Intended Audience :: Developers',
'License :: OSI Approved :: Apache Software License',
'Natural Language :: English',
'Operating System :: OS Independent',
'Programming Language :: Python',
'Programming Language :: Python :: 2.4',
'Programming Language :: Python :: 2.5',
'Programming Language :: Python :: 2.6',
'Programming Language :: Python :: 2.7',
'Topic :: Software Development :: Libraries :: Python Modules',
],
)