Skip to main content
2 votes
1 answer
38 views

How to automatically download or warn about a non-PyPi dependency of a Python package?

I have a Python package, which is distributed on PyPi. It depends on number of other packages available on PyPi and on Psi4, which is only distributed on Conda repositories (https://anaconda.org/psi4/...
Eenoku's user avatar
  • 2,955
-1 votes
1 answer
44 views

package python module with pybind11 extension that depends on shared libraries

I'm using pybind11 to create cross platform bindings to the c++ library named piper-phonemize. The library depends on 2 native libraries - onnxruntime and espeak-ng. There's cmake file which produce ...
anonymous's user avatar
0 votes
1 answer
28 views

AWS Lambda with conda python dependencies

I am currently trying to get my conda python environment to an aws lambda layer to import it in the lambda. When using pip with the precompiled pandas / numpy layer it works fine, but when using conda ...
Simon's user avatar
  • 1
2 votes
1 answer
88 views

How can I build / distribute / install Python packages with limited access to packages from PyPI?

At my workplace pip is not able to access the outside world to download packages. I'm not sure what system exactly is preventing this, but ideally I shouldn't be installing any old packages from the ...
GandalfDG's user avatar
1 vote
0 answers
17 views

Is there a way to specify default dependencies, or dependencies installed only if an extra is not specified, in pyproject.toml?

I have a library mylib that depends on OpenCV. There are 2 distributions of OpenCV, opencv-python and opencv-python-headless. Either one works for mylib but only one can be installed, so for ...
Ders's user avatar
  • 1,568
0 votes
0 answers
53 views

which build-system shall be used with pyproject.toml to install system packages (Linux only, no windows)

I want to transition existing python 2.7 code base (2 .py files, nothing big) from 10+ years ago to python3 and more modern level of project handling. Python2 to python3 steps are out of scope here. ...
silpol's user avatar
  • 346
0 votes
0 answers
51 views

How to Rename a Python Package and Update All Imports Automatically?

I downloaded a Python package from the pure_python branch of the mistree repository using: pip install git+https://github.com/knaidoo29/mistree.git@pure_python The package is installed with a ...
INNA's user avatar
  • 81
0 votes
0 answers
38 views

Pipenv packages install using requirements.txt

I'm working on a large Python framework built from about fifty packages; these packages and all their dependencies (400 more packages!) are referenced in several requirements.txt files for all ...
tflorac's user avatar
  • 67
0 votes
1 answer
65 views

"TOMLDecodeError: Cannot overwrite a value" when installing Python package with pip

I am trying to use the modules I am developing like a package using python -m pip install -e . - I ran this command inside the package directory where setup.py is at the root of the directory. I am ...
CuriousMind's user avatar
1 vote
0 answers
20 views

Python absolute Imports are not resolved as intended

I work with a large repository (https://github.com/jenellefeather/model_metamers_pytorch). This repository has many packages. All imports are absolute. To run the code the repository says to copy a ...
GreedyGroot's user avatar
0 votes
0 answers
23 views

Include data from root folder with setuptools

I have the following folder structure: - myproject/ --- __init__.py --- stuff.py - other-folder/ --- more-stuff.txt pyproject.toml MANIFEST.in file.txt How can I include the file.txt and the other-...
Max's user avatar
  • 3
0 votes
0 answers
29 views

Add pyproject.toml to Django apps that are part of a source tree

I have a Django application which consists of two Django 'apps' - the term used in the Django world for (potentially) reusable packages. My whole application lives in one git repository. I would like ...
jdm's user avatar
  • 9,910
2 votes
1 answer
438 views

How install own python package to be used as a command system wide after PEP-668?

I have a utility written in Python that I used to use and need to use it again. It's done as a package I install and an executable script with shebang that will be imported and called the main ...
Allan Deamon's user avatar
0 votes
2 answers
161 views

How can I use a project that has been installed with pip install -e .?

I am using a project (originally from github) that in its readme says: To use: Clone the project Create a virtual environment Do pip install --upgrade pip and pip install -e . I have tried the ...
KansaiRobot's user avatar
  • 9,473
0 votes
0 answers
32 views

How to bundle wheel of private library dependency in a main application wheel

I develop multiple python applications all of which are packaged using setuptools>=42 to be able to install them with pip. All of them however have some shared functionality that I extracted to a ...
Adam Korba's user avatar

15 30 50 per page
1
2 3 4 5
102