-
Notifications
You must be signed in to change notification settings - Fork 6
/
Copy pathsetup.py
37 lines (32 loc) · 1.08 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
import setuptools
with open("README.md", "r") as fh:
long_description = fh.read()
def read_requirements(filename):
with open(filename) as fh:
lines = fh.readlines()
# remove comments
lines = [line.split('#')[0] for line in lines]
# remove trailing spaces
lines = [line.strip() for line in lines]
# remove empty lines
lines = [line for line in lines if line]
return lines
setuptools.setup(
name="concoursepy",
version="0.0.40",
author="Alex Arwine",
description="library to interface with concourse",
long_description=long_description,
long_description_content_type="text/markdown",
url="https://github.com/arwineap/concoursepy",
packages=setuptools.find_packages(),
install_requires=read_requirements('requirements.txt'),
tests_require=read_requirements('test-requirements.txt'),
include_package_data=True,
classifiers=(
"Programming Language :: Python :: 3",
"License :: OSI Approved :: MIT License",
"Operating System :: OS Independent",
),
)