-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.py
37 lines (30 loc) · 1016 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
35
36
37
from setuptools import setup, find_packages
def get_requirements_from_file(requirements_file):
with open(requirements_file) as f:
requirements = []
for line in f:
line = line.strip()
# ignore comments and editable packages
if not line.startswith("#") or not line.startswith("-e"):
requirements.append(line)
return requirements
def get_long_description():
with open("README.md") as f:
return f.read()
setup(
name="nexusCli",
version="1.0.0",
author="Encode Group",
author_email="engineering-devops@encodegroup.com",
license="Copyright 2019 Encode Group",
description="Python application to manipulate nexus artifacts",
long_description=get_long_description(),
install_requires=get_requirements_from_file("requirements.txt"),
packages=find_packages(),
zip_safe=True,
entry_points={
"console_scripts": [
"nexusCli = nexusCli.manage:main"
]
}
)