-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathsetup.py
More file actions
27 lines (22 loc) · 823 Bytes
/
setup.py
File metadata and controls
27 lines (22 loc) · 823 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
import os
from setuptools import find_packages
from setuptools import setup
requirements = []
if os.path.isfile('requirements.txt'):
with open('requirements.txt') as f:
content = f.readlines()
requirements.extend([x.strip() for x in content if 'git+' not in x])
if os.path.isfile('requirements_dev.txt'):
with open('requirements_dev.txt') as f:
content = f.readlines()
requirements.extend([x.strip() for x in content if 'git+' not in x])
setup(name='packagename',
version="0.0.1",
description="Project Description",
packages=find_packages(),
install_requires=requirements,
test_suite='tests',
# include_package_data: to install data from MANIFEST.in
include_package_data=True,
# scripts=['scripts/packagename-run'],
zip_safe=False)