mitchellolsthoorn / tribler

Privacy with BitTorrent and resilient to shut down
http://www.tribler.org
GNU Lesser General Public License v3.0
1 stars 1 forks source link

Market is not correctly setup in setup.py #32

Closed StefanBoodt closed 8 years ago

StefanBoodt commented 8 years ago

Please, fill all relevant items:

michellolsthoorn/tribler/feature/market

Operating system and version:

Ubuntu 14.04

Expected behavior:

The program can run or does not crash on missing dependencies when installed with pip.

Actual behavior:

When using pip (which uses setup.py) to install tribler the Tribler.community.market.core package is missing and when running the market or trying to import classes an ImportError occurs.

Steps to reproduce the behavior:

While not having any tribler installed run:

sudo pip install git+https://github.com/mitchellolsthoorn/tribler.git@feature/market <-- install the market branch --> python <-- Start python environment. --> import Tribler.community.market <-- Shows succes when importing market. --> import Tribler.community.market.core <-- core does not exist. -->

Relevant log file output:

Traceback (most recent call last): File "", line 1, in ImportError: No module named core

StefanBoodt commented 8 years ago

I have seen that Tribler.community.market.core is not in the packages of the setup.py. I think that adding it there would solve the problem.

mitchellolsthoorn commented 8 years ago

I added it to the setup.py, thx for making us aware of the problem. Let me know if it works

StefanBoodt commented 8 years ago

It does.