-
Notifications
You must be signed in to change notification settings - Fork 9
/
setup.py
51 lines (47 loc) · 1.43 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
# -*- coding: utf-8 -*-
from setuptools import setup, find_packages
from metro import __version__
readme = 'README.md'
try:
import pypandoc
read = lambda: pypandoc.convert(readme, 'rst')
except ImportError:
import os
read = lambda: os.path.join(
os.path.dirname(os.path.abspath(__file__)), readme
)
setup(
name='django-metro',
version=__version__,
description="""Basic metro models for Django 1.7+, \
plus the parser that fills models with actual data \
(lines numbers, lines titles, lines colors, the names \
of the lines, the station names) from various data \
sources (primary - Wikipedia).
""",
long_description=read(),
url='https://github.com/xfenix/django-metro',
author='Denis Anikin',
author_email='ad@xfenix.ru',
packages=find_packages(),
include_package_data=True,
classifiers=[
'Development Status :: 4 - Beta',
'Environment :: Web Environment',
'Framework :: Django',
'Intended Audience :: Developers',
'Operating System :: OS Independent',
'Programming Language :: Python',
'Programming Language :: Python :: 2',
'Programming Language :: Python :: 2.6',
'Programming Language :: Python :: 2.7',
'Programming Language :: Python :: 3',
],
zip_safe=True,
install_requires=[
'Django>=2.1',
'BeautifulSoup4',
'requests',
'six',
],
)