Added debian directory for building debian package#80
Added debian directory for building debian package#80umarbrowser wants to merge 7 commits intothe-virtual-brain:trunkfrom umarbrowser:trunk
Conversation
Override all lintian false errors
Downgrade matplotlib to 2.1.2 because _cntr is missing in 2.1.2 later versions and tvb-framework need it in order to run with raise ImportError: cannot import name _cntr if not included.
|
@umarbrowser good job. What commands should I run to build this deb? |
|
dpkg-buildpackage -rfakeroot -us -i -I or shortly install debuild and call it. |
liadomide
left a comment
There was a problem hiding this comment.
We should adjust to the latest master branch and fix the recent commented stuff bellow
| python-sklearn, | ||
| python-scipy, | ||
| tvb-gdist, | ||
| tvb-data |
There was a problem hiding this comment.
move to use python3-* packages
There was a problem hiding this comment.
remove tvb-data from dependencies
There was a problem hiding this comment.
add pytest to be able to run unittests at package build time
verify that they do run at package build time, if not, adjust debian/rules accordingly with override_dh_auto_test: rule which would trigger/run the tests
| tvb-data | ||
| Standards-Version: 4.1.4 | ||
| Vcs-Browser: https://github.com/the-virtual-brain/tvb-library | ||
| Vcs-Git: https://github.com/the-virtual-brain/tvb-library.git |
There was a problem hiding this comment.
if you keep packaging in a dedicated debian branch (which would merge releases from master branch, as recommended by @yarikoptic), then add here the option to git -b debian
| Vcs-Git: https://github.com/the-virtual-brain/tvb-library.git | ||
| Homepage: http://www.thevirtualbrain.org | ||
|
|
||
| Package: tvb-library |
There was a problem hiding this comment.
TODO -- check how to properly name this, might want to become python3-tvb (python3-tvb-library) and the framework one could be named either just a simple tvb or tvb-framework
| Architecture: all | ||
| Depends: ${misc:Depends}, | ||
| ${python:Depends} | ||
| Description: most important scientific contribution of TVB Project |
There was a problem hiding this comment.
| Description: most important scientific contribution of TVB Project | |
| Description: the core library of the TVB Project |
| @@ -0,0 +1,2 @@ | |||
| tvb-library: no-upstream-changelog | |||
| tvb-library: dependency-on-python-version-marked-for-end-of-life | |||
There was a problem hiding this comment.
remove upon migration to provide python3 packages
| TVB_TEAM = "Stuart Knock, Marmaduke Woodman, Paula Sanz Leon, Laurent Pezard, Viktor Jirsa" | ||
|
|
||
| TVB_INSTALL_REQUIREMENTS = ["networkx", "numpy", "numba", "numexpr", "matplotlib", | ||
| TVB_INSTALL_REQUIREMENTS = ["networkx", "numpy", "numba", "numexpr", "matplotlib==2.1.2", |
|
Would be good to take this up again in the tvb-root repo so we could coordinate the Debian packages. |
Override all lintian false errors and clean it