django-markdownx/setup.py

65 lines
2 KiB
Python
Raw Normal View History

2014-11-03 09:00:53 +00:00
from setuptools import setup, find_packages
import os
if 'vagrant' in str(os.environ):
del os.link
2015-09-06 21:15:36 +00:00
2015-09-29 19:50:26 +00:00
def get_requirements():
return open('requirements.txt').read().splitlines()
2014-11-01 22:09:46 +00:00
setup(
name='django-markdownx',
2016-08-15 12:01:09 +00:00
version='1.6.2',
2014-11-03 09:00:53 +00:00
packages=find_packages(),
2014-11-03 10:04:22 +00:00
include_package_data=True,
2016-08-18 20:03:44 +00:00
description='django-markdownx is a Markdown editor built for Django.',
long_description='''Key features
------------
* raw editing
* live preview
* drag&drop image uploads (stored locally in `MEDIA` folder)
* customizable image insertion tag
* image filtering using content types and max file size
* image manipulations (compression, size, cropping, upscaling)
* pre-&post- text altering
* easy template customization for layout purposes
* multiple editors on one page
* Django Admin support
Preview
-------
.. image:: https://github.com/adi-/django-markdownx/raw/master/django-markdownx-preview.gif?raw=true
:target: https://github.com/adi-/django-markdownx
:alt: django-markdownx preview
*(using Bootstrap for layout and styling)*
''',
2014-11-01 22:09:46 +00:00
url='https://github.com/adi-/django-markdownx',
license='BSD',
classifiers=[
2015-09-06 19:34:05 +00:00
'Development Status :: 5 - Production/Stable',
2014-11-01 22:09:46 +00:00
'Environment :: Web Environment',
2016-08-17 19:53:03 +00:00
'Framework :: Django',
2016-05-14 19:59:59 +00:00
'Framework :: Django :: 1.8',
'Framework :: Django :: 1.9',
2016-08-15 11:36:29 +00:00
'Framework :: Django :: 1.10',
2014-11-01 22:09:46 +00:00
'Intended Audience :: Developers',
'License :: OSI Approved :: BSD License',
'Operating System :: OS Independent',
2016-05-14 20:03:26 +00:00
'Programming Language :: JavaScript',
2016-08-17 19:53:03 +00:00
'Programming Language :: Python',
2014-11-01 22:09:46 +00:00
'Programming Language :: Python :: 2.7',
2015-09-30 11:22:35 +00:00
'Programming Language :: Python :: 3.4',
2015-09-29 04:28:20 +00:00
'Programming Language :: Python :: 3.5',
2016-08-17 19:53:03 +00:00
'Topic :: Software Development :: Libraries :: Python Modules',
2014-11-01 22:09:46 +00:00
],
2016-05-14 20:25:51 +00:00
keywords='django markdown markdownx django-markdownx editor image upload drag&drop',
2015-09-30 11:22:35 +00:00
tests_require=get_requirements(),
test_suite='runtests',
2015-09-29 19:50:26 +00:00
install_requires=get_requirements(),
2016-05-15 11:34:15 +00:00
2014-11-01 22:09:46 +00:00
)