-
Notifications
You must be signed in to change notification settings - Fork 5
/
Copy pathsetup.py
33 lines (29 loc) · 1.05 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
import re
from setuptools import find_packages, setup
with open('converter_app/__init__.py') as f:
metadata = dict(re.findall(r'__(.*)__ = [\']([^\']*)[\']', f.read()))
with open('requirements/common.txt') as f:
install_requires = f.readlines()
setup(
name=metadata['title'],
version=metadata['version'],
author=metadata['author'],
author_email=metadata['email'],
maintainer=metadata['author'],
maintainer_email=metadata['email'],
license=metadata['license'],
url='https://github.com/ComPlat/converter-app',
description=u'',
long_description=open('README.md').read(),
install_requires=install_requires,
classifiers=[
# https://pypi.org/classifiers/
'Programming Language :: Python :: 3.6',
'Programming Language :: Python :: 3.7',
'Programming Language :: Python :: 3.8',
'Operating System :: OS Independent',
'License :: OSI Approved :: GNU Affero General Public License v3 or later (AGPLv3+)'
],
packages=find_packages(),
include_package_data=True
)