forked from jpells/mezzanine-agenda
-
Notifications
You must be signed in to change notification settings - Fork 1
/
setup.py
39 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
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:
print("WARNING: The long readme wasn't converted properly")
setup(name='mezzanine-agenda',
version=__version__,
description='Events for the Mezzanine CMS',
long_description=get_long_desc(),
author='James Pells',
author_email='[email protected]',
url='https://github.com/jpells/mezzanine-agenda',
packages=find_packages(),
include_package_data=True,
setup_requires=[
'setuptools_git>=0.3',
],
install_requires=[
'mezzanine',
'icalendar', #was ==3.6
'geopy==0.95.1',
'pytz',
],
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',
],
)