Skip to content

Added debian directory for building debian package#80

Open
umarbrowser wants to merge 7 commits intothe-virtual-brain:trunkfrom
umarbrowser:trunk
Open

Added debian directory for building debian package#80
umarbrowser wants to merge 7 commits intothe-virtual-brain:trunkfrom
umarbrowser:trunk

Conversation

@umarbrowser
Copy link
Copy Markdown

Override all lintian false errors and clean it

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.
@maedoc
Copy link
Copy Markdown
Member

maedoc commented Jul 16, 2019

@umarbrowser good job. What commands should I run to build this deb?

@umarbrowser
Copy link
Copy Markdown
Author

dpkg-buildpackage -rfakeroot -us -i -I

or shortly install debuild and call it.

Copy link
Copy Markdown
Member

@liadomide liadomide left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We should adjust to the latest master branch and fix the recent commented stuff bellow

Comment thread debian/control
python-sklearn,
python-scipy,
tvb-gdist,
tvb-data
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

move to use python3-* packages

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

remove tvb-data from dependencies

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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

Comment thread debian/control
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
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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

Comment thread debian/control
Vcs-Git: https://github.com/the-virtual-brain/tvb-library.git
Homepage: http://www.thevirtualbrain.org

Package: tvb-library
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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

Comment thread debian/control
Architecture: all
Depends: ${misc:Depends},
${python:Depends}
Description: most important scientific contribution of TVB Project
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
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
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

remove upon migration to provide python3 packages

Comment thread setup.py
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",
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

remove version restriction

@maedoc
Copy link
Copy Markdown
Member

maedoc commented Feb 6, 2020

Would be good to take this up again in the tvb-root repo so we could coordinate the Debian packages.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants