add the updated setup and new MANIFEST file from 1.2

This commit is contained in:
Damien Churchill 2009-11-25 17:58:50 +00:00
parent 94625c48b2
commit 635260e686
2 changed files with 37 additions and 21 deletions

11
MANIFEST.in Normal file
View File

@ -0,0 +1,11 @@
recursive-include docs *
recursive-include deluge *
recursive-include win32 *
recursive-exclude deluge *.egg-link
exclude deluge/ui/web/gen_gettext.py
exclude deluge/ui/web/css/*-debug.css
exclude deluge/ui/web/js/build.sh
exclude deluge/ui/web/js/Deluge*.js
exclude deluge/ui/web/js/*-debug.js
prune deluge/ui/web/docs

View File

@ -2,6 +2,7 @@
# setup.py # setup.py
# #
# Copyright (C) 2007 Andrew Resch <andrewresch@gmail.com> # Copyright (C) 2007 Andrew Resch <andrewresch@gmail.com>
# 2009 Damien Churchill <damoxc@gmail.com>
# #
# This program is free software; you can redistribute it and/or modify # This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by # it under the terms of the GNU General Public License as published by
@ -20,12 +21,16 @@
# Boston, MA 02110-1301, USA. # Boston, MA 02110-1301, USA.
# #
import ez_setup try:
ez_setup.use_setuptools() from setuptools import setup, find_packages, Extension
except ImportError:
import ez_setup
ez_setup.use_setuptools()
from setuptools import setup, find_packages, Extension
import glob import glob
import sys import sys
from setuptools import setup, find_packages, Extension
from distutils import cmd, sysconfig from distutils import cmd, sysconfig
from distutils.command.build import build as _build from distutils.command.build import build as _build
from distutils.command.clean import clean as _clean from distutils.command.clean import clean as _clean
@ -36,7 +41,6 @@ except ImportError:
class BuildDoc(object): class BuildDoc(object):
pass pass
import msgfmt import msgfmt
import os import os
import platform import platform
@ -392,30 +396,25 @@ _data_files = [
# Main setup # Main setup
setup( setup(
name = "deluge",
version = "1.2.9.900",
fullname = "Deluge Bittorrent Client",
description = "Bittorrent Client",
author = "Andrew Resch, Damien Churchill", author = "Andrew Resch, Damien Churchill",
author_email = "andrewresch@gmail.com, damoxc@gmail.com", author_email = "andrewresch@gmail.com, damoxc@gmail.com",
cmdclass = cmdclass, keywords = "torrent bittorrent p2p fileshare filesharing",
data_files = _data_files,
description = "Bittorrent Client",
long_description = """Deluge is a bittorrent client that utilizes a long_description = """Deluge is a bittorrent client that utilizes a
daemon/client model. There are various user interfaces available for daemon/client model. There are various user interfaces available for
Deluge such as the GTKui, the webui and a console ui. Deluge uses Deluge such as the GTKui, the webui and a console ui. Deluge uses
libtorrent in it's backend to handle the bittorrent protocol.""", libtorrent in it's backend to handle the bittorrent protocol.""",
keywords = "torrent bittorrent p2p fileshare filesharing", url = "http://deluge-torrent.org",
entry_points = """ license = "GPLv3",
[console_scripts]
deluge = deluge.main:start_ui cmdclass = cmdclass,
deluge-console = deluge.ui.console:start data_files = _data_files,
deluge-gtk = deluge.ui.gtkui:start
deluge-web = deluge.ui.web:start
deluged = deluge.main:start_daemon
""",
ext_package = "deluge", ext_package = "deluge",
ext_modules = _ext_modules, ext_modules = _ext_modules,
fullname = "Deluge Bittorrent Client",
include_package_data = True, include_package_data = True,
license = "GPLv3",
name = "deluge",
package_data = {"deluge": ["ui/gtkui/glade/*.glade", package_data = {"deluge": ["ui/gtkui/glade/*.glade",
"data/pixmaps/*.png", "data/pixmaps/*.png",
"data/pixmaps/*.svg", "data/pixmaps/*.svg",
@ -437,6 +436,12 @@ setup(
"ui/web/themes/*/*/*" "ui/web/themes/*/*/*"
]}, ]},
packages = find_packages(exclude=["plugins", "docs", "tests"]), packages = find_packages(exclude=["plugins", "docs", "tests"]),
url = "http://deluge-torrent.org", entry_points = """
version = "1.3.0", [console_scripts]
deluge = deluge.main:start_ui
deluge-console = deluge.ui.console:start
deluge-gtk = deluge.ui.gtkui:start
deluge-web = deluge.ui.web:start
deluged = deluge.main:start_daemon
""",
) )