Skip to main content
1 vote
1 answer
62 views

I am experimenting with how to package my python code as a zip archive. I understand there are other ways to share and distribute code. Right now I am specifically interested in how to get this to ...
Nukesub's user avatar
  • 227
1 vote
0 answers
162 views

To be clear, I'm not suggesting anyone actually should import pkg.__init__ directly. This is to understand potential pitfalls if someone decides to convert a module-only distribution into a package, ...
dROOOze's user avatar
  • 4,194
2 votes
1 answer
65 views

I want to install my single file module together with its py.typed file using setuptools and pyproject.toml. I'm packaging a Python single-module, and so far I was using a very simple pyproject.toml: [...
Raúl Núñez de Arenas Coronado's user avatar
2 votes
2 answers
68 views

My goal is to create a .whl installer file for only one given package. There are multiple packages in the directory tree. setup.py: from setuptools import setup setup( name="package1", ...
awesome_sangram's user avatar
0 votes
0 answers
112 views

I am new to PyO3. Out of the box it supports building with maturin or setuptools-rust. It does not support making Python type stub (.pyi) files by itself yet (incomplete feature). Mypy's stubgen does ...
plswork04's user avatar
  • 693
-2 votes
1 answer
87 views

I have a very complex Python library that is used by several people/projects for different purposes. The structure is basically the same as many Python libraries, but I would like to give the ability ...
jcfaracco's user avatar
  • 880
0 votes
0 answers
97 views

I don't manage to make the editable mode pip install -e . for a local installation of my project. After the installation, when I import a constructor from a module of my package within in python shell ...
kouign amann's user avatar
1 vote
2 answers
122 views

I have a repository which needs just one folder from another, but it needs to keep updating when the other repo changes, so I plan to use a submodule, but how do I take just the singular folder? This ...
DeepThought42's user avatar
-5 votes
1 answer
109 views

I'm using Python only for simple scripts and every time I look into Python packaging, there is a new standard or technologie. Now when I develop a small one-file tool and want to load a jinja2 ...
Thomas Koch's user avatar
  • 2,941
0 votes
0 answers
57 views

I'm using Google Artifact Registry to host Python packages, and I'm running into a serious issue with pip installing incompatible versions of packages (like numpy or scipy) Problem: When I run: pip ...
makplay's user avatar
2 votes
1 answer
3k views

I want to use uv to install packages and add dependencies, equivalent to the following pip workflow: git clone https://github.com/<username>/<repository>.git cd <repository> pip ...
Chris's user avatar
  • 23
0 votes
0 answers
30 views

Detail of the Problem: My simple project structure is as follows: └─mris ├─mris.egg-info ├─seggms │ ├─training │ │ └─run_training.py ├─utilities │ └─config.py (contains ...
Natsuki Ruan's user avatar
2 votes
1 answer
70 views

I am uncertain of how to do development against an existing connector using pyairbyte. I cannot get pyairbyte to successfully load my modified source connector. I have made changes to the source-...
nickolasclarke's user avatar
0 votes
0 answers
63 views

I currently build my simple Python module with a command like: python3 -m build --wheel --outdir /tmp . This creates the /tmp/mypackage-0.1-py3-none-any.whl -- as one would expect. However, it also ...
Mikhail T.'s user avatar
  • 4,266
1 vote
0 answers
134 views

I have a rather small package, with only the single __init__.py at the top-level, which I attempt to install with pip-3.11 install --user .. Pip duly processes my pyproject.toml, checking all of the ...
Mikhail T.'s user avatar
  • 4,266

15 30 50 per page
1
2 3 4 5
104