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

Dev/create installable package #21

Open
wants to merge 10 commits into
base: master
Choose a base branch
from

Conversation

PiGo86
Copy link

@PiGo86 PiGo86 commented Jan 2, 2023

This pull request is aimed to make unodit a python package, installable via pip (fix #17).

To do so, this PR makes some modifications on the file organization, and import statements.

I am not sure of the path detection in config.py file for resources (currently it uses os.path.dirname(__file__)). I understand it should use importlib.resources instead.

For the moment and in my use case (installation with pip via git url), it works as it is.

A second step would be to publish the package on PyPi.

I remain available to exchange on this PR 😉

@PiGo86 PiGo86 force-pushed the dev/create_installable_package branch from df0405d to 6d6f0bb Compare January 2, 2023 18:06
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.

Add setup.py / distribute via pypi.
1 participant