forked from jpells/mezzanine-agenda
-
Notifications
You must be signed in to change notification settings - Fork 1
/
setup.py
42 lines (37 loc) · 1.2 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
from setuptools import setup, find_packages
from mezzanine_agenda import __version__
import subprocess
def get_long_desc():
"""Use Pandoc to convert the readme to ReST for the PyPI."""
try:
return subprocess.check_output(
['pandoc', '-f', 'markdown', '-t', 'rst', 'README.mdown']
)
except Exception:
print("WARNING: The long readme wasn't converted properly")
setup(
name='mezzanine-agenda',
version=__version__,
description='Events for the Mezzanine CMS',
long_description=str(get_long_desc()),
author='James Pells',
author_email='[email protected]',
url='https://github.com/jpells/mezzanine-agenda',
packages=find_packages(),
include_package_data=True,
classifiers=[
'Development Status :: 4 - Beta',
'Environment :: Web Environment',
'Framework :: Django',
'License :: OSI Approved :: MIT License',
'Natural Language :: English',
'Operating System :: OS Independent',
'Topic :: Internet :: WWW/HTTP :: Dynamic Content',
],
install_requires=[
"icalendar==4.0.3",
"geopy==1.17.0",
"pytz>=2018.7",
"django-autocomplete-light==3.8.2"
]
)