Commit Graph

256 Commits

Author SHA1 Message Date
Calum Lind 3a8ed2e9cb [Core] Change deprecated lt.version to lt.__version__ 2016-10-17 12:40:28 +01:00
bendikro 5713ff09f4 [Docs] Autogenerate module docs with apidoc
* Add sphinx-apidoc to setup.py build_docs
2016-05-22 12:11:41 +01:00
Calum Lind 0f43b564c9 [WebUI] Add WebUI build class to setup.py for minifing javascript 2016-05-19 15:22:45 +01:00
bendikro c3247396f7 [Stats] Fix to tests and deleted .test.py 2016-04-19 19:00:07 +02:00
bendikro 5edb923904 [Base] Split main.py into ui/ui_entry.py and core/daemon_entry.py 2016-04-18 09:36:20 +02:00
Jamie Lennox aa82efd4f1 [#1974] [UI] Decouple UI selection from core.
Add entry points into setup for each of the UIs and then use this
information to determine which client UI to run.

This ensures that custom UIs may be written and run without
the need to modifify deluge source code.
2016-04-17 13:51:40 +02:00
Calum Lind d280fa9fbd [Lint] Cleanup helper scripts to pass PyLint 2015-10-30 18:39:52 +00:00
Calum Lind 774157f9b6 Fix scalable icon path 2015-09-20 21:36:46 +01:00
Calum Lind 2c5025644c Fix data_files in setup.py 2015-09-20 18:39:20 +01:00
Calum Lind f834ff6ec5 [Packaging] Updates to osx scripts
* bundle_contents now appends 'Contents' without adding it twice.
 * Remove reference to non-existent gdk-pixbuf.loaders
 * Separate libtorrent in new module.
 * Update lib versions for bundle file.
2015-09-18 22:59:52 +01:00
Calum Lind 7532d4d333 Fix icon paths in setup 2015-09-13 22:50:53 +01:00
Calum Lind caf35bcdf4 [Packaging] Include WebUI debug files for dev versions
* Webui will try to use debug files if deluge version contains 'dev'.
 * Include webui debug files in sdist.
 * Use exclude_package_data to remove debug files in release versions.
2015-09-04 19:43:32 +01:00
Calum Lind 8345237dcc [Packaging] bbfreeze updates
* No need for data_files to be installed on windows
2015-08-27 11:27:49 +01:00
Calum Lind 7d679eb480 Updates to helper scripts
* Python 3 compatible
 * Consistent quote symbol
2015-08-25 15:43:55 +01:00
Calum Lind 0466c7144c [#1389] Fix data_files installed in wrong location 2015-08-24 23:46:12 +01:00
Calum Lind 1c3e14919f [Win32] Refactor bbreeze script
* In setup.py put web and deluged back into console_script as the gtkui hack in
bbfreeze is a windows only issue for popup cmd windows showing.
 * Altered the bbreeze script to find any deluge scripts in pythonpath.
 * Use setIcon now in bbfreeze and use icon from package.
 * Use version stamp from pywin32.
2015-08-24 15:35:25 +01:00
Calum Lind 7cc14baae3 Remove glade from package_data entry 2015-08-22 12:21:58 +01:00
bendikro 9d662bf059 [Tests] Fix code for isort 4.0.0 2015-08-14 16:45:23 +01:00
Calum Lind 284b86ebb6 Fix running docs build from setup 2014-09-25 21:05:57 +01:00
bendikro 66f2739be7 Added .travis.yml (for travis-ci) and tox.ini files
Targets:

* Runs the unit-tests for python 2.7
* Tests unit-test coverage
* Try to build docs
* Code style checks:
  * flake8
  * isort

Codes changes:
* Fixed tests for httpdownloader (using tmp dir)
* Implemented a couple of tests for Stats plugin but they fail to run on travis

Issues:
* Can't get py26 to work because of installing libtorrent through apt and
  the option system_site_packages fails for 2.6.
2014-09-25 14:11:51 +01:00
Calum Lind b19845bf93 More fixes for previously overzealous changes to setup.py 2014-09-23 09:09:49 +01:00
Calum Lind f2d81ff542 Update headers and isort imports 2014-09-23 08:39:29 +01:00
Calum Lind 83262afda1 Flake8 codebase
Fixes error E265 and E714 that have been added to newest version of pep8
2014-09-22 12:46:18 +01:00
Calum Lind 5cc5d2e811 Fix overzealous changes to setup.py 2014-09-20 18:55:21 +01:00
Calum Lind 30a0f3c9ed Flake8 pass of entire codebase
* Use the inline '# NOQA' to supress N802 lower-case warnings
2014-09-19 19:10:14 +01:00
Calum Lind 20b05ae595 Remove unneeded ez_setup and 'isort' imports 2014-09-04 00:37:57 +01:00
Calum Lind 5167e93d12 Flake8 core and common files
* Added N802 to flake8 ignore as certain inherited funcs cannot be changed
   to lowercase and this unresolved warning hides other errors/warnings.
 * Include new header
2014-09-03 23:48:34 +01:00
Calum Lind 533bdd398a [WebUI] Fix missing ext-extension files in build 2014-07-10 15:29:34 +01:00
Calum Lind 9290cc1f7a Fix building the code documentation with sphinx
Updated Sphinx conf and tested with Sphinx 1.2.1
Moved webui gen_gettext script
Fixed docstring warning in code
Renamed console update-tracker to update_tracker
2014-02-20 17:38:51 +00:00
Calum Lind 09b5d2252c remove unneeded gettext line from setup 2014-02-17 16:56:30 +00:00
Chase Sterling 60c53b0ec1 Fix broken last commit to make bbfreeze script work again 2013-09-08 04:13:36 -04:00
Calum Lind d5a3851eef Remove develop_plugins, replace with --develop and --install-dir options for build_plugins 2013-05-06 22:14:52 +01:00
Calum Lind 3959b67cc0 move and update createicons & check_glade scripts 2013-05-02 19:01:06 +01:00
Calum Lind 4dd6308db9 Add get_version script to automate release versions (PEP386 naming) 2013-05-01 05:24:36 +01:00
Calum Lind 64e1ab481b remove libtorrent build code 2013-04-06 12:51:20 +01:00
Calum Lind a44d86f285 Fix scalable icon install dir 2013-03-24 23:45:39 +00:00
Hengjie 331cef16ef Fix #2220 : MacOSX homebrew build not finding boost libs 2012-12-05 13:50:12 +00:00
John Garland 5e1caf3746 Add compile arg needed by libtorrent 0.16.x 2012-09-16 15:31:36 +10:00
Andrew Resch f0051ee81f Add a define to fix build error with libtorrent trunk 2012-03-03 11:52:44 -08:00
Andrew Resch 6e6f6313a8 Fix missing desktop file preventing install 2012-02-23 00:49:55 +00:00
Calum Lind f299be0eb9 Fix #1929 : Update setup.py to clean deluge*.egg_info dir from root dir 2012-01-09 23:20:48 +00:00
Calum Lind 4dbbb4d676 Add clean desktop file to setup.py 2012-01-07 19:47:16 +00:00
Andrew Resch 808ff02130 Fix path for desktop file 2011-07-29 20:56:48 -07:00
Andrew Resch fd56ccaabf Fix .desktop file creation on Windows by just ignoring it 2011-07-28 22:53:40 +01:00
Calum Lind 15ef668fef Localize the Desktop file
Conflicts:

	setup.py
2011-07-13 21:49:25 +01:00
Pedro Algarvio 78944f47f3 Allow compiling translations in develop mode.
Translations will compiled into `deluge/i18n` instead of the build lib so that they can be used in a deluge develop mode install.
2011-07-10 01:20:13 +01:00
Pedro Algarvio dd50b7bea1 Include `deluge/ui/gtkui/glade/*.ui` data files in `setup.py`. 2011-07-06 12:33:44 +01:00
Pedro Algarvio 15e9f5f218 Add 2 more commands to setup.py
Two more commands were added to setup.py:
 * develop_plugins - Installs each of the plugins in development mode
 * egg_info_plugins - Create the '.egg-info' distribution directories for each plugin. This will make the plugin discoverable by deluge

Both these commands are intended to be used while developing deluge.
2011-06-05 16:58:27 +01:00
Pedro Algarvio 87e767d4c1 Merge branch 'master' into plugins-namespace 2011-06-03 17:48:22 +01:00
Justin Noah 937b53b355 pixmaps and icons moved to ui/data, all necessary references changed. 2011-05-30 17:57:39 +01:00
Calum Lind edb0c2e71d Modify setup scripts to be executable 2011-05-21 18:54:15 +01:00
John Garland 19799d74b4 Include gif pixmaps in the package data 2011-04-09 22:36:12 +10:00
John Garland 45ccd3b84a Fix libtorrent not compiling with boost libs 1.46 2011-03-26 17:33:26 +11:00
Pedro Algarvio 16f617d240 Initial commit to implement the "deluge.plugins" namespace package support. 2010-12-09 22:05:34 +00:00
Damien Churchill 1822c2bde9 fix a silly bug 2010-10-31 10:13:33 +00:00
Damien Churchill f88b24d507 apply 41ffee5 to master 2010-10-31 09:18:09 +00:00
John Garland 7cd210a59b include missing theme images 2010-09-18 00:47:47 +10:00
Damien Churchill eee27868a8 include the .order files 2010-09-16 12:16:07 +01:00
Damien Churchill e5dec3f020 add all the other scripts to package_data 2010-09-16 08:52:16 +01:00
Andrew Resch def1127c78 More clean-up of setup.py 2010-09-14 11:29:47 -07:00
Andrew Resch 847f2c2ebd Remove the custom 'install' class and include_package_data 2010-09-14 10:56:42 -07:00
Damien Churchill d49cde1994 use the get_libtorrent.sh script to get libtorrent if it is missing 2010-07-22 21:13:26 +01:00
Andrew Resch d5881142aa Always look for -mt boost libraries first 2010-06-18 09:50:58 -07:00
Andrew Resch 369b03bffb Update version 2010-05-05 14:46:27 -07:00
Damien Churchill 26defff7fc fix building after the theme switch about 2010-03-18 12:41:07 +00:00
Damien Churchill 1790a1cf2d add an additional check to ensure that the libtorrent folder has files in it 2010-02-18 18:23:36 +00:00
John Garland b4b95c9423 Don't opitimise when doing a debug build. 2010-01-24 02:23:57 +00:00
Andrew Resch 9b26f6ebee Fix up the build_debug so that it removes 'NDEBUG' from the CFLAGS 2010-01-23 22:33:24 +00:00
Damien Churchill a82b6e4fb5 add 2 new commands that allow for libtorrent to be built with debugging enabled 2010-01-20 12:08:29 +00:00
Damien Churchill 2de185adea bump version to 1.2.900 rather than 1.2.9.900 2010-01-14 14:17:05 +00:00
Damien Churchill 635260e686 add the updated setup and new MANIFEST file from 1.2 2009-11-25 17:58:50 +00:00
Damien Churchill 0f81e2816f forward port the setup.py fix to trunk and update the 1.2 branch ChangeLog 2009-11-02 15:35:56 +00:00
Andrew Resch 6274a32ca1 Add man pages for deluge-console and deluge-gtk
Update the other man pages
2009-10-09 16:26:10 +00:00
Andrew Resch 3c69822761 Modify setup.py to allow building without libtorrent/ 2009-10-08 02:51:49 +00:00
Andrew Resch 8a5ccbc2d4 Update setup.py 2009-10-04 23:19:34 +00:00
Damien Churchill 9fafa31afe fix silly bug in the setup script. bad damoxc. 2009-09-29 09:20:25 +00:00
Damien Churchill d075ac888e use the version check within deluge so the correct version is checked for 2009-09-28 15:18:51 +00:00
Andrew Resch c0d0498f36 Add rst files for all the modules 2009-08-11 23:05:13 +00:00
Damien Churchill c2299b793c add .gif images from the images folder also 2009-08-03 16:27:45 +00:00
Andrew Resch aef0a4616f Don't depend on sphinx to build 2009-07-22 23:52:18 +00:00
Andrew Resch 50ba89659c Remove some unncessary code 2009-07-22 23:06:24 +00:00
Andrew Resch ead063e279 Add a 'build_docs' command to build the documentation 2009-07-22 23:04:48 +00:00
Damien Churchill 46b5e9b406 exclude docs and tests from find_packages also 2009-07-22 20:31:16 +00:00
John Garland 2591845512 Fix error when trying to install. 2009-07-20 09:41:44 +00:00
Andrew Resch 447620f89f Add some extra include dirs for when building on OS X using Fink 2009-05-20 18:51:37 +00:00
Andrew Resch f7bb2f330b Fix #927 add support for more boost versions 2009-05-09 02:59:42 +00:00
Damien Churchill caafffb484 remove another space 2009-05-05 19:07:05 +00:00
Damien Churchill b254385666 remove space in the description 2009-05-05 19:04:53 +00:00
Damien Churchill 12dded627e change so INCLUDEDIR not existing in the env won't throw an error 2009-04-30 16:17:50 +00:00
Andrew Resch afeb7cf8b1 Use directories listed in INCLUDEDIRS 2009-04-30 16:15:09 +00:00
Damien Churchill b60dc2d4ca start new ui class 2009-04-19 13:46:11 +00:00
Damien Churchill 1719ece036 fix the icons path 2009-04-06 18:03:43 +00:00
Damien Churchill 248eb7341c use the setup.cfg file to tag the build as -dev 2009-04-06 14:54:20 +00:00
Damien Churchill f524d8e63d edit the web package_data stuff 2009-03-06 20:26:17 +00:00
Andrew Resch 8025889598 Fix building plugins when python isn't in the PATH 2009-02-23 11:25:07 +00:00
Andrew Resch 089f0afa32 Fix license headers
Remove ui/webui/ssl from package_data since it doesn't exist
2009-01-28 00:36:33 +00:00
Marcos Pinto c94a13ae17 windows updates to switch to boost 1.37 and python 2.6 2009-01-12 23:30:33 +00:00
Andrew Resch b9ae2cb2b9 Update credits and author list 2009-01-08 03:35:22 +00:00
Andrew Resch 0bd50f9b08 Fix installing 2009-01-08 02:31:01 +00:00
Marcos Pinto c406ab4eaf add mime images to setup.py 2009-01-07 21:01:38 +00:00