Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat(debianize): Debian folder to create deb packages #35

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

GMishx
Copy link
Member

@GMishx GMishx commented Aug 9, 2018

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 GMishx requested review from ag4ums and amanjain97 August 9, 2018 13:38
@GMishx GMishx added the WIP Work in progress label Aug 9, 2018
@GMishx GMishx force-pushed the feat/debianize branch 2 times, most recently from e92a132 to 9e7df27 Compare August 9, 2018 13:51
@GMishx
Copy link
Member Author

GMishx commented Aug 9, 2018

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
Copy link
Member Author

GMishx commented Aug 9, 2018

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 GMishx removed the WIP Work in progress label Aug 10, 2018
@GMishx GMishx added the has merge conflicts The PR has merge conflicts which needs to be resolved label Oct 29, 2018
@GMishx GMishx removed the has merge conflicts The PR has merge conflicts which needs to be resolved label Oct 29, 2018
@ag4ums ag4ums self-assigned this Dec 6, 2018
@ag4ums
Copy link
Collaborator

ag4ums commented Dec 14, 2018

@GMishx please rebase

Add Debian information to atarashi to get deb packages.

Signed-off-by: Gaurav Mishra <[email protected]>
@Kaushl2208
Copy link
Member

Hey @GMishx ,

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

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

Successfully merging this pull request may close these issues.

3 participants