-
Notifications
You must be signed in to change notification settings - Fork 8
Open Discussion: Use python dependencies management #11
Comments
We should definitively provide a ``setup.py``.
Everything beyond ``pip install <repo-url>`` is too much burden for users.
|
👍 @lpirl I totally agree. And it would be really really nice, if we are able to provide the functionality of the testbed just with |
Then the installation inside of the container could only be |
If we manage to build an easily installable package for ns-3, then our cohydra framework can depend on this ns-3 package. But the current situation is that the workflow to get the ns-3 python package is quite tedious and requires manual recompilation. Therefore I think it is out of the scope for this project to build such an easily installable python package for ns-3. But then it would still not be possible to |
It is true that cohydra has dependencies beyond |
@mgjm Yes, we will not build a ns-3 pip package or something like that. But we also do not install docker, lxd or sumo on the machines. But we should cover as much as possible at a single point. The |
For installing cohydra with all its dependencies, we /could/ provide – for
example – an Ansible role but that's another discussion (just to put the idea
into heads here).
|
I would recommend to use a python based dependencies management system. Therefore I would create a
setup.py
with details about the project and all dependencies (likeaexpr
orpylxd
).See: https://packaging.python.org/tutorials/packaging-projects/
And: https://python-packaging.readthedocs.io/en/latest/dependencies.html
Example: https://github.com/active-expressions/active-expressions-static-python/blob/master/setup.py
Advantages:
The text was updated successfully, but these errors were encountered: