generated from kivy-garden/flower
-
Notifications
You must be signed in to change notification settings - Fork 29
/
setup.py
67 lines (55 loc) · 1.94 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
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
"""See README.md for package documentation."""
from setuptools import setup, find_namespace_packages
from io import open
from os import path
here = path.abspath(path.dirname(__file__))
filename = path.join(here, 'kivy_garden', 'mapview', '_version.py')
locals = {}
with open(filename, "rb") as fh:
exec(compile(fh.read(), filename, 'exec'), globals(), locals)
__version__ = locals['__version__']
with open(path.join(here, 'README.md'), encoding='utf-8') as f:
long_description = f.read()
URL = 'https://github.com/kivy-garden/mapview'
setup_params = dict(
name='kivy_garden.mapview',
version=__version__,
description='A kivy garden mapview demo.',
long_description=long_description,
long_description_content_type='text/markdown',
url=URL,
author='Kivy',
author_email='[email protected]',
classifiers=[
'Development Status :: 4 - Beta',
'Intended Audience :: Developers',
'Topic :: Software Development :: Libraries',
'License :: OSI Approved :: MIT License',
'Programming Language :: Python :: 3.5',
'Programming Language :: Python :: 3.6',
'Programming Language :: Python :: 3.7',
'Programming Language :: Python :: 3.8',
],
keywords='Kivy kivy-garden',
packages=find_namespace_packages(include=['kivy_garden.*']),
install_requires=[],
extras_require={
'dev': ['pytest>=3.6', 'pytest-cov', 'pytest-asyncio', 'flake8',
'sphinx_rtd_theme'],
'ci': ['coveralls', 'pycodestyle'],
},
package_data={},
include_package_data=True,
data_files=[('icons', ['kivy_garden/mapview/icons/cluster.png',
'kivy_garden/mapview/icons/marker.png'])],
entry_points={},
project_urls={
'Bug Reports': URL + '/issues',
'Source': URL,
},
)
def run_setup():
setup(**setup_params)
# makes sure the setup doesn't run at import time
if __name__ == "__main__":
run_setup()