-
Notifications
You must be signed in to change notification settings - Fork 11
/
Copy pathsetup.py
33 lines (29 loc) · 919 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
import setuptools
def contents(file_name):
with open(file_name, 'r') as file:
return file.read()
setuptools.setup(
name='simple-mbtiles-server',
version='1.0.0',
author='markuman',
author_email='[email protected]',
description='Server to on-the-fly extract and serve vector tiles from an mbtiles file on fs',
long_description=contents('README.md'),
long_description_content_type='text/markdown',
url='https://github.com/markuman/sms',
classifiers=[
'Programming Language :: Python :: 3',
'License :: OSI Approved :: MIT License',
'License :: OSI Approved :: BSD License',
],
python_requires='>=3.7.4',
install_requires=[
line for line in
contents('requirements.txt').splitlines()
if line and not line.startswith('#')
],
packages=[
'simple_mbtiles_server',
],
include_package_data=True,
)