forked from pyouroboros/ouroboros
-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.py
33 lines (27 loc) · 1.02 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
from setuptools import setup, find_packages
from pyouroboros import VERSION
def read(filename):
with open(filename) as f:
return f.read()
def get_requirements(filename="requirements.txt"):
"""returns a list of all requirements"""
requirements = read(filename)
return list(filter(None, [req.strip() for req in requirements.split() if not req.startswith('#')]))
setup(
name='ouroboros-cli',
version=VERSION,
maintainer='circa10a',
maintainer_email='[email protected]',
description='Automatically update running docker containers',
long_description=read('README.md'),
long_description_content_type='text/markdown',
url='https://github.com/pyouroboros/ouroboros',
license='MIT',
classifiers=['Programming Language :: Python',
'Programming Language :: Python :: 3.6',
'Programming Language :: Python :: 3.7'],
packages=find_packages(),
scripts=['ouroboros'],
install_requires=get_requirements(),
python_requires='>=3.6.2'
)