Closed ischneider closed 10 years ago
This will make it easier to setup a development environment and allow tracking dependencies (in git) as they arise instead of documenting them.
There are two types of external dependencies:
Other tools or means of managing deps don't/won't work well alone:
-e
(I'd love to be wrong, BTW)
Installed like this (this will install nose-html into the src/opengeo/ext_libs directory):
src/opengeo/ext_libs
PYTHONPATH=src/opengeo/ext_libs easy_install -a -d src/opengeo/ext_libs nose-html
We'd maintain a list of these in some file and run this command on all of them.
These can be managed with pip install -e URL or pip install -r and a requirements file.
pip install -e URL
pip install -r
These can be in a separate list of files and just filtered out in the packaging step.
One idea would be to paver to wrap this and other tasks (install.py and package.py).
The different targets could include:
setup
install
package
The paver script covers this for now.
This will make it easier to setup a development environment and allow tracking dependencies (in git) as they arise instead of documenting them.
There are two types of external dependencies:
Other tools or means of managing deps don't/won't work well alone:
-e
dependencies (from git/svn/etc)(I'd love to be wrong, BTW)
First type
Installed like this (this will install nose-html into the
src/opengeo/ext_libs
directory):We'd maintain a list of these in some file and run this command on all of them.
Second type
These can be managed with
pip install -e URL
orpip install -r
and a requirements file.Testing dependencies
These can be in a separate list of files and just filtered out in the packaging step.
Wrapping up installation
One idea would be to paver to wrap this and other tasks (install.py and package.py).
The different targets could include:
setup
- install dependenciesinstall
- copy/link files to appropriate plugin locationpackage
- create package for plugin (does not contain tests or dependencies)