stefantalpalaru / deluge-default-trackers

Deluge plugin for adding default trackers to all the new torrents
GNU General Public License v3.0
141 stars 23 forks source link

python setup.py bdist_egg - ImportError: No module named setuptools #11

Closed br451 closed 8 years ago

br451 commented 8 years ago

OS

    xxx@xxx:~$ lsb_release -a
    No LSB modules are available.
    Distributor ID: Ubuntu
    Description:    Ubuntu 15.10
    Release:    15.10
    Codename:   wily

Python

    xxx@xxx:~$ python --version
    Python 2.7.10

Deluge

    xxx@xxx:~$ deluge --version
    Client: 1.3.12
    libtorrent 1.0.6.0

deluge-default-trackers-master.zip

    xxx@xxx:~/Téléchargements/deluge-default-trackers-master$ ls -la
    total 68
    drwx------  4 xxx xxx  4096 nov 29 16:20 .
    drwxr-xr-x 15 xxx xxx  4096 nov 29 16:20 ..
    -rw-rw-r--  1 xxx xxx    57 nov 15 15:52 AUTHORS
    drwx------  3 xxx xxx  4096 nov 29 16:20 defaulttrackers
    drwx------  2 xxx xxx  4096 nov 29 16:20 egg
    -rwxr-xr-x  1 xxx xxx    79 nov 15 15:52 .gitignore
    -rw-rw-r--  1 xxx xxx 35147 nov 15 15:52 LICENSE
    -rw-rw-r--  1 xxx xxx   917 nov 15 15:52 README.md
    -rw-rw-r--  1 xxx xxx  3165 nov 15 15:52 setup.py

setup.py bdist_egg

    xxx@xxx:~/Téléchargements/deluge-default-trackers-master$ python setup.py bdist_egg
    Traceback (most recent call last):
      File "setup.py", line 41, in <module>
        from setuptools import setup, find_packages
    ImportError: No module named setuptools

Import in Deluge of the premade Egg dont work ether.

stefantalpalaru commented 8 years ago

sudo apt-get install python-setuptools

br451 commented 8 years ago

waw, quick answer ! I was back to write the same: python-setuptools-git and the auto linked paquets solve the problem. A restart of Deluge after the import of the new Egg, and all is good.

Thx for the creation of this great usefull plugin dude !

If you can implement an rule to import automaticaly or not, or individual choice (right clic on the torrent) ,it can be ultime.