forked from wellcomecollection/python-gearman
-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathsetup.py
More file actions
executable file
·47 lines (35 loc) · 1.24 KB
/
setup.py
File metadata and controls
executable file
·47 lines (35 loc) · 1.24 KB
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
#!/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.md")
# 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="pygearman",
version=__version__,
author="nerou GmbH",
author_email="info@nerou.de",
description="A Python 3 fork of the Gearman API - Client, worker, and admin client interfaces",
long_description=open(README).read(),
url="https://github.com/nerou42/pygearman",
packages=["gearman"],
license="Apache / MIT",
classifiers=[
"Development Status :: 5 - Production/Stable",
"Intended Audience :: Developers",
"Natural Language :: English",
"Operating System :: OS Independent",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.6",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.12",
"Topic :: Software Development :: Libraries :: Python Modules",
],
)