-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
5 changed files
with
25 additions
and
39 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -3,4 +3,6 @@ | |
*.pyo | ||
*.egg-info | ||
*.log | ||
*.pot | ||
*.pot | ||
build/ | ||
dist/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,2 @@ | ||
include README | ||
recursive-include wagtailembedder *.py *.html *.js *.css | ||
include README.md | ||
recursive-include wagtailembedder *.py *.html *.js *.css |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -7,7 +7,7 @@ Snippets embedder for Wagtail RichTextField. | |
|
||
# Quickstart | ||
|
||
``` $ pip install -e [email protected]:springload/wagtailembedder#egg=wagtailembedder``` | ||
``` $ pip install wagtailembedder``` | ||
|
||
add wagtailembedder to your settings.py in the INSTALLED_APPS section: | ||
|
||
|
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,43 +1,29 @@ | ||
#!/usr/bin/env python | ||
import os | ||
from setuptools import setup | ||
|
||
import sys, os | ||
with open(os.path.join(os.path.dirname(__file__), 'README.md')) as readme: | ||
README = readme.read() | ||
|
||
from wagtail.wagtailcore import __version__ | ||
|
||
|
||
try: | ||
from setuptools import setup, find_packages | ||
except ImportError: | ||
from distutils.core import setup | ||
|
||
|
||
# Hack to prevent "TypeError: 'NoneType' object is not callable" error | ||
# in multiprocessing/util.py _exit_function when setup.py exits | ||
# (see http://www.eby-sarna.com/pipermail/peak/2010-May/003357.html) | ||
try: | ||
import multiprocessing | ||
except ImportError: | ||
pass | ||
|
||
PY3 = sys.version_info[0] == 3 | ||
|
||
|
||
install_requires = [ | ||
"Wagtail>=0.8.4", | ||
] | ||
# allow setup.py to be run from any path | ||
os.chdir(os.path.normpath(os.path.join(os.path.abspath(__file__), os.pardir))) | ||
|
||
setup( | ||
name='wagtailembedder', | ||
version=__version__, | ||
version='0.1.4', | ||
packages=['wagtailembedder'], | ||
include_package_data=True, | ||
license='BSD License', | ||
description='Snippets embedder for Wagtail RichTextField.', | ||
long_description=README, | ||
url='https://github.com/springload/wagtailembedder/', | ||
author='Jordi J. Tablada', | ||
author_email='[email protected]', | ||
url='https://github.com/springload/wagtailembedder/', | ||
packages=find_packages(), | ||
include_package_data=True, | ||
license='BSD', | ||
long_description=open('README.md').read(), | ||
classifiers=[ | ||
'Environment :: Web Environment', | ||
'Framework :: Django', | ||
'Intended Audience :: Developers', | ||
'License :: OSI Approved :: BSD License', | ||
'Operating System :: OS Independent', | ||
'Programming Language :: Python', | ||
'Programming Language :: Python :: 2', | ||
'Programming Language :: Python :: 2.6', | ||
|
@@ -46,8 +32,7 @@ | |
'Programming Language :: Python :: 3.2', | ||
'Programming Language :: Python :: 3.3', | ||
'Programming Language :: Python :: 3.4', | ||
'Framework :: Django', | ||
'Topic :: Internet :: WWW/HTTP', | ||
'Topic :: Internet :: WWW/HTTP :: Dynamic Content', | ||
], | ||
install_requires=install_requires, | ||
zip_safe=False, | ||
) |