-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsetup.py
45 lines (40 loc) · 1.23 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
import os
import setuptools
try:
with open("README.md", "r") as fh:
long_description = fh.read()
except FileNotFoundError:
long_description = ''
try:
with open("requirements-dev.txt", "r") as fh:
tests_require = [line for line in fh.read().split(os.linesep) if line]
except FileNotFoundError:
tests_require = []
try:
with open("requirements.txt", "r") as fh:
install_requires = [line for line in fh.read().split(os.linesep) if line and not line.startswith('git')]
except FileNotFoundError:
install_requires = []
setuptools.setup(
name="skippy-cli",
version="0.0.1.dev1",
author="Thomas Rausch",
author_email="t.rausch@dsg.tuwien.ac.at",
description="Skippy Command Line Interface",
long_description=long_description,
long_description_content_type="text/markdown",
url="https://github.com/edgerun/skippy-cli",
packages=setuptools.find_packages(),
test_suite="tests",
tests_require=tests_require,
install_requires=install_requires,
classifiers=[
"Programming Language :: Python :: 3",
"Operating System :: OS Independent",
],
entry_points={
"console_scripts": [
'skippy = skippycli.cli:main'
]
},
)