How to package my project and make it ready to be installed by using pip

Glenn Hutchings zondo42 at gmail.com
Tue Mar 21 04:09:05 EDT 2017


On Monday, 20 March 2017 17:21:04 UTC, Daiyue Weng  wrote:
> If I tried
> 
> pip3 install git+https://user_name@bitbucket.org/user_name/project_name.git
> 
> the package would get installed, but there are no python files that have
> been installed in /usr/local/lib/python3.5/dist-packages/project_name
> 
> Hence I couldn't import any class in the package in python.
> 
> I am wondering how to fix this.

Where are the files that did get installed?  It's possible they were put somewhere you're not expecting.  (Not, I hope, in a folder called 'project_name.git' -- that would be rather unhelpful!)


More information about the Python-list mailing list