Adding a dependency: Difference between revisions
Content added Content deleted
imported>Paulhomebus |
imported>Paulhomebus mNo edit summary |
||
Line 10: | Line 10: | ||
## This creates a tarball of your Python package in dist/. |
## This creates a tarball of your Python package in dist/. |
||
# Host a tarball of the Python package at some public URL. (This is in order to cache a copy of the package somewhere everyone can reliably reach it.) |
# Host a tarball of the Python package at some public URL. (This is in order to cache a copy of the package somewhere everyone can reliably reach it.) |
||
or just ask paulproteus to host it on the http://linode.openatch.org/~paulproteus server. |
# (or just ask paulproteus to host it on the http://linode.openatch.org/~paulproteus server.) |
||
# Add the tarball URL to the list called "dependency_links" in ''milestone-a/setup.py'', appending the string "#egg=''the package name''" to the URL. |
# Add the tarball URL to the list called "dependency_links" in ''milestone-a/setup.py'', appending the string "#egg=''the package name''" to the URL. |
||
# Add the package name to milestone-a/buildout.cfg under "eggs". |
# Add the package name to milestone-a/buildout.cfg under "eggs". |