2012-11-20 03:47:19 -06:00
|
|
|
#!/usr/bin/env python
|
2012-11-22 04:55:22 -06:00
|
|
|
# -*- coding: utf-8 -*-
|
|
|
|
|
|
|
|
import codecs
|
|
|
|
|
2012-11-20 03:47:19 -06:00
|
|
|
from setuptools import setup, find_packages
|
|
|
|
|
2013-01-02 08:49:20 -06:00
|
|
|
import umap
|
2012-11-22 04:55:22 -06:00
|
|
|
|
2015-09-23 02:33:29 -05:00
|
|
|
long_description = codecs.open('README.md', "r", "utf-8").read()
|
|
|
|
|
|
|
|
|
|
|
|
def is_pkg(line):
|
|
|
|
return line and not line.startswith(('--', 'git', '#'))
|
|
|
|
|
|
|
|
with open('requirements.txt', encoding='utf-8') as reqs:
|
|
|
|
install_requires = [l for l in reqs.read().split('\n') if is_pkg(l)]
|
2012-11-22 04:55:22 -06:00
|
|
|
|
2012-11-20 03:47:19 -06:00
|
|
|
setup(
|
2013-01-02 08:49:20 -06:00
|
|
|
name="umap",
|
|
|
|
version=umap.__version__,
|
|
|
|
author=umap.__author__,
|
|
|
|
author_email=umap.__contact__,
|
|
|
|
description=umap.__doc__,
|
2012-11-22 04:55:22 -06:00
|
|
|
keywords="django leaflet geodjango openstreetmap",
|
2013-01-02 08:49:20 -06:00
|
|
|
url=umap.__homepage__,
|
2012-11-20 03:47:19 -06:00
|
|
|
packages=find_packages(),
|
2012-11-22 04:55:22 -06:00
|
|
|
include_package_data=True,
|
|
|
|
platforms=["any"],
|
|
|
|
zip_safe=True,
|
|
|
|
long_description=long_description,
|
2015-09-23 02:33:29 -05:00
|
|
|
install_requires=install_requires,
|
2012-11-22 04:55:22 -06:00
|
|
|
classifiers=[
|
|
|
|
"Development Status :: 3 - Alpha",
|
|
|
|
"Intended Audience :: Developers",
|
|
|
|
"Operating System :: OS Independent",
|
|
|
|
"Topic :: Software Development :: Libraries :: Python Modules",
|
|
|
|
"Programming Language :: Python",
|
|
|
|
],
|
2012-11-20 03:47:19 -06:00
|
|
|
)
|