I want to set my project as a folder instead of a .egg file. So I used zip_safe = False inside the setup function in setup.py file
But when I run this, my project is installed as an .egg file instead of the directory inside / Library / Python / 2.7 / site-packages. Below is the setup.py file
from setuptools import setup, find_packages setup(name = "my-project", version = "0.1", description = "Python version of my-project", author = "Priyal Jain", author_email = " jpriyal@gmail.com ", license="Apache 2.0", keywords="Python my project", package_dir={'': 'lib'}, #packages=find_packages('lib'), packages= ['abc','pqr'], package_data={ 'abc.sample': ['*.yml'] }, zip_safe= False, scripts = ["abc"], classifiers=[ 'Environment :: Console', 'Intended Audience :: Developers', 'Intended Audience :: Information Technology', 'Intended Audience :: System Administrators', 'Intended Audience :: Telecommunications Industry', 'Operating System :: OS Independent', 'Programming Language :: Python', ], )
Did I miss something? Is there any other way to set a python project as a directory instead of .egg files.
python setuptools setup.py egg
pjain
source share