-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathsetup.py
60 lines (50 loc) · 1.24 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
55
56
57
58
59
60
#
# setup.py
#
"""
A pythonic interface to the LevelDB database.
"""
from os import path
from imp import load_source
from setuptools import setup, find_packages
metadata = load_source("metadata", path.join("levelpy", "__meta__.py"))
REQUIRES = [
]
OPTIONAL_REQUIRES = {
}
TESTS_REQUIRE = [
'pytest',
]
SETUP_REQUIRES = [
'pytest-runner',
]
PACKAGES = find_packages(
exclude=["*.tests", "*.tests.*", "tests.*", "tests"]
)
CLASSIFIERS = [
"Development Status :: 3 - Alpha",
"License :: OSI Approved :: MIT License",
"Operating System :: OS Independent",
"Topic :: Database",
"Programming Language :: Python",
"Programming Language :: Python :: 3",
"Natural Language :: English",
]
tar_url = 'https://github.com/akubera/levelpy/archive/v%s.tar.gz' % (metadata.version) # noqa
setup(
name="levelpy",
packages=PACKAGES,
version=metadata.version,
author=metadata.author,
author_email=metadata.author_email,
license=metadata.license,
url=metadata.url,
download_url=tar_url,
description=__doc__.strip(),
classifiers=CLASSIFIERS,
install_requires=REQUIRES,
extras_require=OPTIONAL_REQUIRES,
tests_require=TESTS_REQUIRE,
setup_requires=SETUP_REQUIRES,
platforms='all',
)