Skip to main content

Questions tagged [setuptools]

setuptools is a set of enhancements to Python's distutils which simplify building, distribution and installation of Python packages.

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 ...
Kirthi's user avatar
  • 11
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/...
Hossein Fathollahian's user avatar
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....
Tarique's user avatar
  • 609
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 ...
madduri charan's user avatar
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 ...
Антон Попенко's user avatar
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 ...
MRiabov's user avatar
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 ...
tomasvana10's user avatar
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 ...
Vadim's user avatar
  • 1
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 ...
tux Neoh's user avatar
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 ...
Andereoo's user avatar
  • 936
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 | | | ├──...
Davisson Paulino's user avatar
-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): ...
Yoni Israeli's user avatar
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 ...
Hendrik's user avatar
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 ...
anu's user avatar
  • 1,007
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 ...
zest16's user avatar
  • 535

15 30 50 per page
1
2 3 4 5
237