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

2017-03-21 Thread Daiyue Weng
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 wrote: > On Monday, 20 March 2017 17:21:04 UTC, Daiyue Weng wrote: > > If I tried > > > > pip3 install git+https://user_n...@bi

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

2017-03-21 Thread Glenn Hutchings
On Monday, 20 March 2017 17:21:04 UTC, Daiyue Weng wrote: > If I tried > > pip3 install git+https://user_n...@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_n

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

2017-03-20 Thread Daiyue Weng
If I tried pip3 install git+https://user_n...@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

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

2017-03-20 Thread Daiyue Weng
I have been Python Packaging User Guide , and I created a setup.py in my PyCharm project root, from setuptools import setup, find_packages from os import path here = path.abspath(path.dirname(__file__)) packages = find_packages(exclude=['contrib', 'docs', 'tests*']

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

2017-03-20 Thread Glenn Hutchings
On Monday, 20 March 2017 11:36:34 UTC, Daiyue Weng wrote: > Hi, I using Python 3.5.2 on Linux Mint 18.1, and I am wondering how to > package my PyCharm Python project as a module so that it can installed by > someone else by using pip. Like what tools and script I need to use or > write in order t

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

2017-03-20 Thread Daiyue Weng
Hi, I using Python 3.5.2 on Linux Mint 18.1, and I am wondering how to package my PyCharm Python project as a module so that it can installed by someone else by using pip. Like what tools and script I need to use or write in order to do that. cheers -- https://mail.python.org/mailman/listinfo/pyt