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

Upload new version to pypi #79

Open
isidroas opened this issue Feb 28, 2024 · 1 comment
Open

Upload new version to pypi #79

isidroas opened this issue Feb 28, 2024 · 1 comment

Comments

@isidroas
Copy link

The pypi last uploaded version is 1.0.1, which is lacking of some additions to master, for example:

git diff 1.0.1..master -- setup.py

diff --git a/setup.py b/setup.py
index 10a75f7..1998cbc 100644
--- a/setup.py
+++ b/setup.py
@@ -12,8 +12,9 @@ setup(
     include_package_data=True,
     zip_safe=False,
     install_requires=[
-      'gobject',
+      'PyGObject',
       'xcffib',
+      'pycairo',
     ],
     entry_points={
         'console_scripts': [

Why is important?

That makes impossible to me to install in a virtual environment

$ python -m venv venv; source venv/bin/activate;
$ pip install escrotum
$ ./venv/bin/escrotum
Traceback (most recent call last):
  File "/tmp/venv/./bin/escrotum", line 5, in <module>
    from escrotum.main import run
  File "/tmp/venv/lib/python3.10/site-packages/escrotum/main.py", line 9, in <module>
    import gi
ModuleNotFoundError: No module named 'gi'

$ pip list
Package    Version
---------- -------
cffi       1.16.0
escrotum   1.0.1
gobject    0.1.0
pip        22.0.2
pycparser  2.21
setuptools 59.6.0
xcffib     1.5.0
@isidroas
Copy link
Author

isidroas commented Mar 2, 2024

I need it to isolate this package using pipx.
My current alternative is:

pipx install escrotum --system-site-packages
pip install pycairo
pip install PyGObject

or

pipx install escrotum
pipx inject escrotum pycairo
pipx inject escrotum PyGObject

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

No branches or pull requests

1 participant