atarashi
atarashi copied to clipboard
feat(debianize): Debian folder to create deb packages
Added debian folder to debianize atarashi.
Creating Debian packages
- Install build dependencies from
debian/control
- Install
code_comment
and other dependencies from requirements.txt
# python3 -m pip install -r requirements.txt
- Build the orig.tar file manually or get from github (master branch) using uscan.
$ uscan -dd
- Build the packages using your favourite script
$ debuild
How to test
- Follow the steps to create
.deb
on a fresh PC.- Install the resulted
.deb
on a fresh PC.
- Install the resulted
- Install atarashi using
python3 setup.py install
on a fresh PC.- Check if atarashi is installed.
There is still an issue. The debian package is installing required data under
-
/usr/licenses/
-
/usr/data/
-
/usr/local/licenses/
-
/usr/local/data/
But the setuptools are guiding the program to look under
-
/usr/local/lib/python3.5/dist-packages/licenses/
-
/usr/local/lib/python3.5/dist-packages/data/
which does not exists.
This feature is working fine with
python3 setup.py install
Solved by 1c73fa3
Also getting a warning:
/usr/lib/python3.5/importlib/_bootstrap.py:222: RuntimeWarning: numpy.dtype size changed, may indicate binary incompatibility. Expected 96, got 88
return f(*args, **kwds)
Do you have any idea about this @amanjain97 ?
@GMishx please rebase
Hey @GMishx ,
- We can update the code comment ==> Nirjas now?
- Also, this branch has conflict that must be resolved.