简体   繁体   中英

Including a locally developed python package in a buildout interpreter

I'm using isotoma.buildout.autodevelop to develop eggs which I'm currently developing within my buildout.

I would like to include these developed eggs (which are located on the filesystem next to my buildout.cfg) as namespaces in my buildout's custom interpreter.

Can anyone provide an example of this or link to some resource ?

In buildout you can use the develop option:

[buildout]
develop = .
  ../package_name
  ../another_package_name

In this example the current directory and two other packages in the parent directory will be included during the buildout process.

A) The mr.developer recipe mentioned on your recipe's page is probably a better choice.

B) you want your eggs in bin/python? Include them in 'eggs' in your zc.recipe.eggs part in your buildout where you generate bin/python.

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