Closed pndsagora closed 7 years ago
@pndsagora Don't know if you considered it, but you can also download OpenFisca packages from PyPI, copy them to your server in a directory, and ask pip
to install packages from a custom wheels directory (pip install --use-wheel
).
Cf Wheels doc
Closing since a simpler solution was found by updating setuptools
to v34
🙂
@tchabaud I don't fully understand your solution. I understood that you ended up building RPM packages after an upgrade of setuptools
.
I did:
python setup.py compile_catalog
python setup.py bdist_rpm
I examined the content of the OpenFisca-Web-API RPM package and noticed that it only contains the source files of the web API.
May I ask you to tell me more about:
numpy
, etc.)?rpm -i ...
on them?Thanks!
Documented in https://github.com/openfisca/openfisca-gitbook/pull/38.
@cbenz It was a quick'n'dirty workaround for us, because the dependencies were already installed manually, so install 3 rpm with
rpm -i
worked for us.
OK @tchabaud thanks for your answer!
Just include additional files to MANIFEST.in to be able to build rpm from git repo using
EDIT: Connected to https://github.com/openfisca/openfisca-core/issues/461 — @MattiSG