# HG changeset patch # User Daniele Nicolodi # Date 1321577392 -3600 # Node ID 3d524d31d1c2059e0f260f2e8a703dd05f7c17fe # Parent ca6999a5b402423dc1663a225d2c0b3429fea020 Move setup.py to better location. diff -r ca6999a5b402 -r 3d524d31d1c2 buildout.cfg --- a/buildout.cfg Fri Nov 18 00:47:32 2011 +0100 +++ b/buildout.cfg Fri Nov 18 01:49:52 2011 +0100 @@ -1,7 +1,7 @@ [buildout] include-site-packages = false parts = install instance wsgi -develop = src +develop = . # install software [install] diff -r ca6999a5b402 -r 3d524d31d1c2 setup.py --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/setup.py Fri Nov 18 01:49:52 2011 +0100 @@ -0,0 +1,45 @@ +from setuptools import setup, find_packages + +version = '0.5dev' + +requires = [ + 'distribute', + 'Flask', + 'WTForms', + 'itsdangerous', + 'python-dateutil < 2.0', +] + +try: + import argparse +except ImportError: + # we have python < 2.7 + requires.append('argparse') + +try: + from collections import OrderedDict +except ImportError: + # we have python < 2.7 + requires.append('ordereddict') + + +setup(name='ltpdarepo', + version=version, + keywords='', + author='Daniele Nicolodi', + author_email='nicolodi@science.unitn.it', + url='http://dev.grinta.net/hg/ltpdarepo/', + license='AGPLv3+', + + packages=find_packages(), + package_dir={'': 'src'}, + include_package_data=True, + package_data={'': ['*.txt', '*.rst', '*.sql']}, + zip_safe=False, + install_requires=requires, + entry_points={ + 'console_scripts': [ + 'run = ltpdarepo:main', + 'admin = ltpdarepo.admin:main', ] + } + ) diff -r ca6999a5b402 -r 3d524d31d1c2 src/setup.py --- a/src/setup.py Fri Nov 18 00:47:32 2011 +0100 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,44 +0,0 @@ -from setuptools import setup - -version = '0.5dev' - -requires = [ - 'distribute', - 'Flask', - 'WTForms', - 'itsdangerous', - 'python-dateutil < 2.0', -] - -try: - import argparse -except ImportError: - # we have python < 2.7 - requires.append('argparse') - -try: - from collections import OrderedDict -except ImportError: - # we have python < 2.7 - requires.append('ordereddict') - - -setup(name='ltpdarepo', - version=version, - keywords='', - author='Daniele Nicolodi', - author_email='nicolodi@science.unitn.it', - url='http://dev.grinta.net/hg/ltpdarepo/', - license='AGPLv3+', - - packages=['ltpdarepo', ], - include_package_data=True, - package_data={'': ['*.txt', '*.rst', '*.sql']}, - zip_safe=False, - install_requires=requires, - entry_points={ - 'console_scripts': [ - 'run = ltpdarepo:main', - 'admin = ltpdarepo.admin:main', ] - } - )