-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathsetup.py
More file actions
48 lines (41 loc) · 1.24 KB
/
setup.py
File metadata and controls
48 lines (41 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
48
from setuptools import setup, find_packages
MAJOR = 0
MINOR = 0
MICRO = 1
VERSION = '%d.%d.%d' % (MAJOR, MINOR, MICRO)
CLASSIFIERS = [
"Intended Audience :: Developers",
"Intended Audience :: Information Technology",
"License :: OSI Approved",
"License :: OSI Approved :: MIT License",
"Programming Language :: Python",
"Programming Language :: Python :: 3",
"Operating System :: Microsoft :: Windows",
"Operating System :: POSIX",
"Operating System :: Unix",
"Operating System :: MacOS",
"Topic :: Software Development",
"Topic :: Software Development :: Libraries",
"Topic :: Software Development :: Libraries :: Python Modules",
]
KEYWORDS = [
"delayqueue",
"queue",
]
def get_long_desc():
with open("README.rst", encoding="utf-8") as fp:
desc = fp.read()
return desc
setup(
name="dqueue",
packages=find_packages(),
version=VERSION,
description='Python Delay Queue reference java DelayQueue',
long_description=get_long_desc(),
author='maycap',
author_email='gencat@163.com',
url='https://github.com/maycap/dqueue',
download_url='',
keywords=' '.join(KEYWORDS),
classifiers=CLASSIFIERS,
)