forked from umap-project/umap
-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.py
44 lines (36 loc) · 1.14 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
#!/usr/bin/env python
# -*- coding: utf-8 -*-
import codecs
import io
from setuptools import setup, find_packages
import umap
long_description = codecs.open('README.md', "r", "utf-8").read()
def is_pkg(line):
return line and not line.startswith(('--', 'git', '#'))
with io.open('requirements.txt', encoding='utf-8') as reqs:
install_requires = [l for l in reqs.read().split('\n') if is_pkg(l)]
setup(
name="umap",
version=umap.__version__,
author=umap.__author__,
author_email=umap.__contact__,
description=umap.__doc__,
keywords="django leaflet geodjango openstreetmap",
url=umap.__homepage__,
packages=find_packages(),
include_package_data=True,
platforms=["any"],
zip_safe=True,
long_description=long_description,
install_requires=install_requires,
classifiers=[
"Development Status :: 3 - Alpha",
"Intended Audience :: Developers",
"Operating System :: OS Independent",
"Topic :: Software Development :: Libraries :: Python Modules",
"Programming Language :: Python",
],
entry_points={
'console_scripts': ['umap=umap.bin:main'],
},
)