-
Notifications
You must be signed in to change notification settings - Fork 1
/
setup.py
34 lines (29 loc) · 952 Bytes
/
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
#!/usr/bin/env python
import os
from datetime import datetime
from setuptools import setup, find_packages
def read(fname):
return open(os.path.join(os.path.dirname(__file__), fname)).read()
import aerospike_rest
version = '{}{}'.format(
aerospike_rest.get_version(),
'b{}'.format(datetime.now().strftime("%Y%m%d%H%M%S")) if os.getenv('TEST_PYPI', '') else ''
)
setup(
name = aerospike_rest.NAME,
version = version,
description = "Python interface to Aerospike REST Client",
url = "https://github.com/aerospike-community/aerospike-python-rest",
long_description = read("README.md"),
long_description_content_type='text/markdown',
packages = find_packages(),
python_requires=">=3.3",
classifiers=[
"Programming Language :: Python :: 3",
"License :: OSI Approved :: MIT License",
"Operating System :: OS Independent",
],
install_requires = [
'requests'
],
)