setup.py
49 lines
| 1.5 KiB
| text/x-python
|
PythonLexer
r185 | from pylons_app import get_version | |||
Marcin Kuzminski
|
r0 | try: | ||
from setuptools import setup, find_packages | ||||
except ImportError: | ||||
from ez_setup import use_setuptools | ||||
use_setuptools() | ||||
from setuptools import setup, find_packages | ||||
setup( | ||||
r478 | name='HgApp-%s' % get_version(), | |||
r185 | version=get_version(), | |||
r326 | description='Mercurial repository serving and browsing app', | |||
keywords='mercurial web hgwebdir replacement serving hgweb', | ||||
license='BSD', | ||||
r127 | author='marcin kuzminski', | |||
r244 | author_email='marcin@python-works.com', | |||
r325 | url='http://hg.python-works.com', | |||
r127 | install_requires=[ | |||
"Pylons>=1.0.0", | ||||
"SQLAlchemy>=0.6", | ||||
r457 | "babel", | |||
r127 | "Mako>=0.3.2", | |||
r512 | "vcs>=0.1.6", | |||
r246 | "pygments>=1.3.0", | |||
r344 | "mercurial>=1.6", | |||
r406 | "pysqlite", | |||
r486 | "whoosh==1.0.0b17", | |||
r415 | "py-bcrypt", | |||
r472 | "celery", | |||
Marcin Kuzminski
|
r0 | ], | ||
r127 | setup_requires=["PasteScript>=1.6.3"], | |||
packages=find_packages(exclude=['ez_setup']), | ||||
include_package_data=True, | ||||
test_suite='nose.collector', | ||||
package_data={'pylons_app': ['i18n/*/LC_MESSAGES/*.mo']}, | ||||
message_extractors={'pylons_app': [ | ||||
Marcin Kuzminski
|
r0 | ('**.py', 'python', None), | ||
('templates/**.mako', 'mako', {'input_encoding': 'utf-8'}), | ||||
('public/**', 'ignore', None)]}, | ||||
r127 | zip_safe=False, | |||
paster_plugins=['PasteScript', 'Pylons'], | ||||
entry_points=""" | ||||
Marcin Kuzminski
|
r0 | [paste.app_factory] | ||
main = pylons_app.config.middleware:make_app | ||||
[paste.app_install] | ||||
main = pylons.util:PylonsInstaller | ||||
""", | ||||
) | ||||