Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

setup.py fixed

  • Loading branch information...
commit 86787903df9d1ecb47638cfab5cbf86617d9c5cf 1 parent b110e08
@dimka665 authored
Showing with 29 additions and 11 deletions.
  1. +2 −1  MANIFEST.in
  2. +27 −10 setup.py
View
3  MANIFEST.in
@@ -4,4 +4,5 @@ include LICENSE
include MANIFEST.in
include README.rst
-graft markitup_field
+graft markitup_field
+recursive-exclude markitup_field *.pyc *.pyo
View
37 setup.py
@@ -1,20 +1,35 @@
from distutils.core import setup
+import os
long_description = open('README.rst').read()
+def _static_files(prefix):
+ return [os.path.join(prefix, pattern) for pattern in [
+ 'markitup/*.*',
+ 'markitup/sets/*.*',
+ 'markitup/sets/*/*.*',
+ 'markitup/sets/*/images/*.png',
+ 'markitup/skins/*/*.*',
+ 'markitup/skins/*/images/*.png',
+ 'markitup/templates/*.*'
+ ]]
+
setup(
name='django-markitup-field',
- version="1.2.2-dev",
- package_dir={'markitup_field': 'markitup_field'},
-# packages=['markitup_field', 'markitup_field.tests'],
- packages=['markitup_field'],
- py_modules=['markitup_field'],
+ version="1.2.10",
description='Custom Django field for easy use of markup in text fields',
- author='James Turk',
- author_email='james.p.turk@gmail.com',
+ long_description=long_description,
+ author='Dmitry Voronin',
+ author_email='dimka665@gmail.com',
license='BSD License',
url='http://github.com/dimka665/django-markitup-field/',
- long_description=long_description,
+ packages=['markitup_field',
+ 'markitup_field.management', 'markitup_field.management.commands',
+ 'markitup_field.templatetags',
+ 'markitup_field.tests',
+ ],
+ package_data={'markitup_field': ['templates/markitup/*.html'] + _static_files('static')},
+
platforms=["any"],
classifiers=[
'Development Status :: 5 - Production/Stable',
@@ -24,5 +39,7 @@
'Operating System :: OS Independent',
'Programming Language :: Python',
'Environment :: Web Environment',
- ],
-)
+ 'Framework :: Django',
+ ],
+)
+
Please sign in to comment.
Something went wrong with that request. Please try again.