Questions tagged [setuptools]
setuptools is a set of enhancements to Python's distutils which simplify building, distribution and installation of Python packages.
setuptools
3,541
questions
1
vote
0
answers
19
views
How to ensure that at least one optional dependency is specified during installation of a python wheel?
I have a unique use case where my python package specifies 3 optional dependencies to setuptools.setup using the extras_require argument. While each of those individual dependencies is kind of ...
0
votes
0
answers
10
views
Pylucene 8.11.0 installation on Ubuntu
I want to install pylucene 8.11.0 on ubuntu 64
I did python build and install
please help me to solve it
and when I want to make file I have this error
sudo make install
/usr/bin/python3 /usr/lib/...
0
votes
0
answers
19
views
Python setyp.py entrypoint referencing
I have a setup.py for my python project for wheel packaging and have defined entrypoints as given below:
entry_points={
"group_1": [
"entrypoint_1=src.jobs.execution....
0
votes
0
answers
22
views
Numpy dependency errors while installing the RPM Package
I've created a RPM Package for a python application using setuptools and rpmbuild,
the application need few modules like numpy,flask..etc,I've install all the modules in the package itself.
but while ...
0
votes
0
answers
36
views
Setup.py doesn't see scripts
I have a code in my setup.py file:
from setuptools import setup, find_packages
setup(
name='PBI_telegrambot',
version='0.0.1',
author='junscience',
description='Embedding app for ...
0
votes
0
answers
40
views
Can't import own pip packages via `pip install -e .`
I am developing a project and I have two project modules: A (main, private), B (library, maybe public in the future), and I've a package for each.
Now, I'm trying to create a dev pip install via pip ...
1
vote
1
answer
53
views
Is it a good practice to import functions from __main__.py?
My __main__.py module for my package is defined like so (simplified):
def main():
... # Start my GUI
if __name__ == "__main__":
main()
It is also a package, with an __init__.py as ...
0
votes
1
answer
30
views
After running Apache Airflow in Docker can't extend it to requirements - No module named 'setuptools.extern.six'
I have launched docker container with Apache Airflow and it's working. Now I am trying to extend all necessary dependencies and here's the issue I'm faced with. My Dockerfile
FROM apache/airflow:2.9.2
...
0
votes
1
answer
72
views
Is it possible to change the size of a specific dialog control at runtime in NSIS?
I created 5 custom pages.
While setup is in progress, I want to change the x, y coordinates or size of a specific control.
I tried the following but to no avail:
For example, change the y coordinate ...
1
vote
0
answers
28
views
How to create python wheel for each platform and only include binaries for that specific platform
My project has the structure:
project
- binaries
- win32
- win64
- linux32
- linux64
- linuxarm
- darwin64
- darwinarm
Each of the folders contains binaries that the project uses ...
2
votes
0
answers
26
views
How to get desired package structure with setuptools?
I'm trying to create a package using setuptools on a project with a custom file structure. This is the structure:
├── pyproject.toml
├── scripts
│ ├── layers
│ │ ├── mypackage
| | | ├──...
-1
votes
2
answers
98
views
I am trying to install using pip install and keep getting errors
I'm having trouble installing the hvsrpy package using pip within my Anaconda environment. The installation fails with the following error:
ERROR: Exception:
Traceback (most recent call last):
...
0
votes
0
answers
19
views
Module with absolute Path constants within Package packaged with setuptools
I have a medium size Python package and I use setuptools to build a wheel. The package is meant to be a convenience library for a Fortran program. I now would like to define a constant which gives the ...
0
votes
0
answers
29
views
How to specify building both (dot)EXE and no extention executable in pyproject.toml file on Windows
The problem I am having is Windows specific, but I think this is a good opportunity to learn python's build system.
So, I have a project that I wish to install on Windows, Linux and Mac machines. I am ...
1
vote
0
answers
302
views
ModuleNotFoundError: No module named 'setuptools.extern.six'
I'm trying to pip install streamlit-wordcloud (here), but I get the following error:
ModuleNotFoundError: No module named 'setuptools.extern.six'
My Python and pip versions are:
> python --version
...