mirror of
https://github.com/Hopiu/django-markdownx.git
synced 2026-03-16 21:40:24 +00:00
40 lines
1.6 KiB
Python
Executable file
40 lines
1.6 KiB
Python
Executable file
from setuptools import setup, find_packages
|
|
|
|
import os
|
|
if 'vagrant' in str(os.environ):
|
|
del os.link
|
|
|
|
def get_requirements():
|
|
return open('requirements.txt').read().splitlines()
|
|
|
|
|
|
setup(
|
|
name='django-markdownx',
|
|
version='1.5',
|
|
packages=find_packages(),
|
|
include_package_data=True,
|
|
description='Django Markdownx is a Markdown editor built for Django. It enables raw editing, live preview and image uploads (stored in `MEDIA` folder) with drag&drop functionality and auto tag insertion. Also, django-markdownx supports multiple editors on one page.',
|
|
long_description='See full readme: https://github.com/adi-/django-markdownx',
|
|
url='https://github.com/adi-/django-markdownx',
|
|
download_url='https://github.com/adi-/django-markdownx/archive/master.zip',
|
|
license='BSD',
|
|
classifiers=[
|
|
'Development Status :: 5 - Production/Stable',
|
|
'Environment :: Web Environment',
|
|
'Framework :: Django :: 1.7',
|
|
'Framework :: Django :: 1.8',
|
|
'Framework :: Django :: 1.9',
|
|
'Intended Audience :: Developers',
|
|
'License :: OSI Approved :: BSD License',
|
|
'Operating System :: OS Independent',
|
|
'Programming Language :: JavaScript',
|
|
'Programming Language :: Python :: 2.7',
|
|
'Programming Language :: Python :: 3.3',
|
|
'Programming Language :: Python :: 3.4',
|
|
'Programming Language :: Python :: 3.5',
|
|
],
|
|
keywords='django markdown markdownx django-markdownx editor image upload drag&drop',
|
|
tests_require=get_requirements(),
|
|
test_suite='runtests',
|
|
install_requires=get_requirements(),
|
|
)
|