atarashi icon indicating copy to clipboard operation
atarashi copied to clipboard

feat(debianize): Debian folder to create deb packages

Open GMishx opened this issue 6 years ago • 4 comments

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

  1. Follow the steps to create .deb on a fresh PC.
    1. Install the resulted .deb on a fresh PC.
  2. Install atarashi using python3 setup.py install on a fresh PC.
    1. Check if atarashi is installed.

GMishx avatar Aug 09 '18 13:08 GMishx

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

GMishx avatar Aug 09 '18 14:08 GMishx

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 avatar Aug 09 '18 14:08 GMishx

@GMishx please rebase

ag4ums avatar Dec 14 '18 01:12 ag4ums

Hey @GMishx ,

  1. We can update the code comment ==> Nirjas now?
  2. Also, this branch has conflict that must be resolved.

Kaushl2208 avatar Oct 27 '21 13:10 Kaushl2208