-
Notifications
You must be signed in to change notification settings - Fork 4
/
setup.py
55 lines (46 loc) · 1.58 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
import os
import io
from setuptools import setup
PROJECT_ROOT, _ = os.path.split(__file__)
NAME = 'python-lightblue'
AUTHORS = 'Ales Raszka, Mark Birger, Lukáš Krajíček'
VERSION = '1.0.3'
URL = 'https://github.com/redhat-aqe/python-lightblue'
LICENSE = 'GPLv3'
SHORT_DESCRIPTION = 'A Python API for Lightblue database.'
with io.open(os.path.join(PROJECT_ROOT, 'README.md'), encoding="utf-8") as f:
DESCRIPTION = f.read()
INSTALL_REQUIRES = open(os.path.join(PROJECT_ROOT, 'requirements.txt')). \
read().splitlines()
TEST_REQUIRES = open(os.path.join(PROJECT_ROOT, 'build_requirements.txt')). \
read().splitlines()
setup(
name=NAME,
version=VERSION,
author=AUTHORS,
author_email=EMAILS,
package_dir={'': 'src'},
packages=[
'lightblue',
],
install_requires=INSTALL_REQUIRES,
test_suite='nose.collector',
tests_require=TEST_REQUIRES,
url=URL,
description=SHORT_DESCRIPTION,
long_description=DESCRIPTION,
long_description_content_type='text/markdown',
license=LICENSE,
classifiers=[
'Development Status :: 5 - Production/Stable',
'Environment :: Console',
'Intended Audience :: Developers',
'License :: OSI Approved :: GNU General Public License v3 (GPLv3)',
'Operating System :: OS Independent',
'Programming Language :: Python :: 2.7',
'Programming Language :: Python :: 3.6',
'Topic :: Database',
'Topic :: Software Development :: Libraries :: Python Modules',
],
)