-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathsetup.py
More file actions
42 lines (38 loc) · 1.34 KB
/
setup.py
File metadata and controls
42 lines (38 loc) · 1.34 KB
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
import re
from setuptools import find_packages, setup
with open('wcs_downloader/__init__.py') as f:
metadata = dict(re.findall(r'__(.*)__ = [\']([^\']*)[\']', f.read()))
with open('requirements.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/codeforberlin/wcs-downloader',
description=u'',
long_description=open('README.md').read(),
install_requires=install_requires,
classifiers=[
# https://pypi.org/classifiers/
'Development Status :: 1 - Planning',
'Programming Language :: Python :: 3.6',
'Programming Language :: Python :: 3.7',
'Programming Language :: Python :: 3.8',
'Programming Language :: Python :: 3.9',
'Programming Language :: Python :: 3.10',
'Operating System :: OS Independent',
'License :: OSI Approved :: MIT License',
],
packages=find_packages(),
include_package_data=True,
entry_points={
'console_scripts': [
'wcs-download=wcs_downloader.main:download',
'wcs-create-tilestache-config=wcs_downloader.main:tilestache'
]
}
)