Fixes to setup.py to create a usable package

pull/19/head
Matt Westcott 2014-02-07 18:12:06 +00:00
rodzic ce97ed9d35
commit 9f5976c8c0
1 zmienionych plików z 15 dodań i 2 usunięć

Wyświetl plik

@ -1,10 +1,21 @@
#!/usr/bin/env python
try:
from setuptools import setup
from setuptools import setup, find_packages
except ImportError:
from distutils.core import setup
# Hack to prevent stupid TypeError: 'NoneType' object is not callable error on
# exit of python setup.py test # in multiprocessing/util.py _exit_function when
# running python setup.py test (see
# http://www.eby-sarna.com/pipermail/peak/2010-May/003357.html)
try:
import multiprocessing
except ImportError:
pass
setup(
name='wagtail',
version='0.1',
@ -12,7 +23,8 @@ setup(
author='Matthew Westcott',
author_email='matthew.westcott@torchbox.com',
url='http://wagtail.io/',
packages=['wagtail'],
packages=find_packages(),
include_package_data=True,
license='BSD',
long_description=open('README.rst').read(),
classifiers=[
@ -41,4 +53,5 @@ setup(
"lxml>=3.3.0",
"BeautifulSoup==3.2.1", # django-compressor gets confused if we have lxml but not BS3 installed
],
zip_safe=False,
)