diff options
Diffstat (limited to 'pavement.py')
-rw-r--r-- | pavement.py | 70 |
1 files changed, 4 insertions, 66 deletions
diff --git a/pavement.py b/pavement.py index 654a72df1..7c34a5bc8 100644 --- a/pavement.py +++ b/pavement.py @@ -1,13 +1,7 @@ # -*- coding: utf-8 -*- - from paver.easy import * -from paver.setuputils import setup - -try: - from paver.doctools import cog -except: - cog = None +from paver.doctools import cog import fnmatch @@ -31,60 +25,9 @@ from subprocess import call, Popen PROJECT_DIR = path(__file__).dirname() sys.path.append(PROJECT_DIR) -options = environment.options - -extradeps = [] -if sys.version_info <= (2, 5): - extradeps += 'simplejson' - -setup( - name="pyload", - version="0.5.0", - description='Fast, lightweight and full featured download manager.', - long_description=open(PROJECT_DIR / "README.md").read(), - keywords=('pyload', 'download-manager', 'one-click-hoster', 'download'), - url="http://pyload.org", - download_url='http://pyload.org/download', - license='AGPL v3', - author="pyLoad Team", - author_email="support@pyload.org", - platforms=('Any',), - #package_dir={'pyload': 'src'}, - packages=['pyload'], - #package_data=find_package_data(), - #data_files=[], - include_package_data=True, - exclude_package_data={'pyload': ['docs*', 'scripts*', 'tests*']}, #exluced from build but not from sdist - # 'bottle >= 0.10.0' not in list, because its small and contain little modifications - install_requires=['pycurl', 'Beaker >= 1.6'] + extradeps, - extras_require={ - 'SSL': ["pyOpenSSL"], - 'DLC': ['pycrypto'], - 'Lightweight webserver': ['bjoern'], - 'RSS plugins': ['feedparser'], - 'Few Hoster plugins': ['BeautifulSoup>=3.2, <3.3'] - }, - #setup_requires=["setuptools_hg"], - test_suite='nose.collector', - tests_require=['nose', 'websocket-client >= 0.8.0', 'requests >= 1.2.2'], - entry_points={ - 'console_scripts': [ - 'pyload = pyload.Core:main', - 'pyload-cli = pyload.cli.Cli:main' - ]}, - zip_safe=False, - classifiers=[ - "Development Status :: 5 - Production/Stable", - "Topic :: Internet :: WWW/HTTP", - "Environment :: Console", - "Environment :: Web Environment", - "Intended Audience :: End Users/Desktop", - "License :: OSI Approved :: GNU Affero General Public License v3", - "Operating System :: OS Independent", - "Programming Language :: Python :: 2" - ] -) +from pyload import __version__ +options = environment.options options( sphinx=Bunch( builddir="_build", @@ -105,7 +48,7 @@ options( # xgettext args xargs = ["--from-code=utf-8", "--copyright-holder=pyLoad Team", "--package-name=pyLoad", - "--package-version=%s" % options.version, "--msgid-bugs-address='bugs@pyload.org'"] + "--package-version=%s" % __version__, "--msgid-bugs-address='bugs@pyload.org'"] @task @@ -117,11 +60,6 @@ def html(): call_task('paver.doctools.html') -@task -@needs('clean', 'generate_setup', 'webapp', 'setuptools.command.sdist') -def sdist(): - """ Build source code package with distutils """ - @task @cmdopts([ |