-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathsetup.py
More file actions
35 lines (30 loc) · 908 Bytes
/
setup.py
File metadata and controls
35 lines (30 loc) · 908 Bytes
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
'''
setup for pyapi project
'''
import os
from setuptools import setup, find_packages
HERE = os.path.abspath(os.path.dirname(__file__))
with open(os.path.join(HERE, 'README.md')) as f:
README = f.read()
BASE = 'pyapi/' if os.path.isdir(os.path.join(HERE, 'pyapi')) else ''
PREQ = os.path.join(HERE, BASE + "requirements.txt")
PREQ_DEV = os.path.join(HERE, BASE + "requirements-dev.txt")
setup(
name='pyapi',
version='1.0.0',
description='Python API Demo',
long_description=README,
classifiers=[
"Programming Language :: Python",
],
author='Jason Zhu',
author_email='jzhu@infoblox.com',
url='',
packages=find_packages(),
include_package_data=True,
zip_safe=False,
install_requires=[i.strip() for i in open(PREQ).readlines()],
tests_require=[i.strip() for i in open(PREQ_DEV).readlines()],
test_suite="tests",
entry_points="",
)