简体   繁体   中英

Install Options on Python Setup.py Files

I have a python package that I create a package using setuptools.

It creates an .egg file and loads it into the site-package folder for my python win 32-bit library.

My question is this. If there a way to create the setup.py so it can move the files to the site-package lib folder not creating an egg or are eggs the new thing at setuptools 3.3?

I am running into errors with my code on various machines, and I want to be able to step through to the code, but the egg will not allow me to do this.

Thank you

To solve this issue, I just did the following in the setup.py:

from distutils.core import setup
setup(...)

I had list my individual packages in the packages option on the setup function.

It created both the .egg file and the package in the site=packages folder.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM