forked from debops/debops-api
-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.py
executable file
·30 lines (27 loc) · 929 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
#!/usr/bin/env python3
from distutils.core import setup
version = None
with open('debops/api.py') as f:
for line in f:
if line.startswith('__version__'):
version = line.replace("'", '').split()[2]
break
setup(
name='debops-api',
description='Machine readable metadata about the DebOps Project',
version=version,
author='Robin Schneider',
author_email='ypid@riseup.net',
url='https://github.com/debops/debops-api',
classifiers=(
'Development Status :: 4 - Beta',
'Environment :: Console',
'Intended Audience :: System Administrators',
'License :: DFSG approved'
'License :: OSI Approved :: GNU Affero General Public License v3',
'Natural Language :: English',
'Programming Language :: Python',
'Operating System :: OS Independent',
'Topic :: Software Development :: Documentation',
),
)