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

Daiyue Weng daiyueweng at gmail.com
Tue Mar 21 08:34:25 EDT 2017


the problem has been solved, as I forgot to define

py_modules=[...]

for a few python files needed to be installed.

cheers

On 21 March 2017 at 08:09, Glenn Hutchings <zondo42 at gmail.com> wrote:

> 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!)
> --
> https://mail.python.org/mailman/listinfo/python-list
>


More information about the Python-list mailing list