-
Notifications
You must be signed in to change notification settings - Fork 62
/
setup.py
44 lines (38 loc) · 1.36 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
#!/usr/bin/env python
import sys
import os
from setuptools import setup, find_packages
_top_dir = os.path.dirname(os.path.abspath(__file__))
sys.path.insert(0, os.path.join(_top_dir, "lib"))
try:
import markdown_deux
finally:
del sys.path[0]
README = open(os.path.join(_top_dir, 'README.md')).read()
setup(name='django-markdown-deux',
version=markdown_deux.__version__,
description="a Django app that provides template tags for using Markdown (using the python-markdown2 processor)",
long_description=README,
classifiers=[c.strip() for c in """
Development Status :: 5 - Production/Stable
Environment :: Web Environment
Framework :: Django
Intended Audience :: Developers
License :: OSI Approved :: MIT License
Operating System :: OS Independent
Programming Language :: Python :: 3
Topic :: Internet :: WWW/HTTP
""".split('\n') if c.strip()],
keywords='django markdown markdown2 text markup html',
author='Trent Mick',
author_email='[email protected]',
maintainer='Riccardo Magliocchetti',
maintainer_email='[email protected]',
url='http://github.com/trentm/django-markdown-deux',
license='MIT',
install_requires = ['markdown2'],
packages=["markdown_deux"],
package_dir={"": "lib"},
include_package_data=True,
zip_safe=False,
)