FITFLOP
Home

python-packaging (12 post)


posts by category not found!

PyPI - allow importing a module using a different name

How to Import a Module Using a Different Name in Python A Guide to Py PI When working with Python there might be instances where you want to import a module but

2 min read 22-10-2024 24
PyPI - allow importing a module using a different name
PyPI - allow importing a module using a different name

" No module named build.__main__; 'build' is a package and cannot be directly executed " when doing 'python -m build'

Troubleshooting the Error No module named build main build is a package and cannot be directly executed When Running python m build When working with Python pac

2 min read 21-10-2024 20
" No module named build.__main__; 'build' is a package and cannot be directly executed " when doing 'python -m build'
" No module named build.__main__; 'build' is a package and cannot be directly executed " when doing 'python -m build'

Warning: 'news' is an entry point defined in pyproject.toml, but it's not installed as a script. You may get improper `sys.argv[0]`

Understanding the Warning news is an entry point defined in pyproject toml but its not installed as a script Issue in Python When working with Python projects p

2 min read 21-10-2024 21
Warning: 'news' is an entry point defined in pyproject.toml, but it's not installed as a script. You may get improper `sys.argv[0]`
Warning: 'news' is an entry point defined in pyproject.toml, but it's not installed as a script. You may get improper `sys.argv[0]`

When is wheel required alongside setuptools?

When is Wheel Required Alongside Setuptools In the world of Python packaging two tools frequently come up Setuptools and Wheel Understanding when to use Wheel a

2 min read 16-10-2024 28
When is wheel required alongside setuptools?
When is wheel required alongside setuptools?

Example of meson-python Cython package with src layout

An Example of a Meson Python Cython Package with Source Layout In todays rapidly evolving world of software development package management and build systems hav

3 min read 14-10-2024 27
Example of meson-python Cython package with src layout
Example of meson-python Cython package with src layout

Python packaging: including files/modules which import each other

Packaging Python Projects Handling Interdependent Files and Modules Creating a Python package often involves managing various files and modules that depend on e

2 min read 05-10-2024 36
Python packaging: including files/modules which import each other
Python packaging: including files/modules which import each other

Distribute shell scripts using setuptools and pyproject.toml

Distributing Shell Scripts with setuptools and pyproject toml Distributing shell scripts alongside Python packages is a common need especially when you want to

2 min read 05-10-2024 25
Distribute shell scripts using setuptools and pyproject.toml
Distribute shell scripts using setuptools and pyproject.toml

unable to install pip and pip packages on pycharm community version, how to install pip packages on pycharm?

Conquering the Pip less Py Charm How to Install Pip Packages in Py Charm Community Edition Are you a Python developer facing the frustrating hurdle of installin

2 min read 05-10-2024 26
unable to install pip and pip packages on pycharm community version, how to install pip packages on pycharm?
unable to install pip and pip packages on pycharm community version, how to install pip packages on pycharm?

Handling of python packages and correct virtual environment use

Taming the Python Package Jungle Understanding Virtual Environments Pythons vast ecosystem of packages offers incredible power and flexibility However managing

2 min read 04-10-2024 33
Handling of python packages and correct virtual environment use
Handling of python packages and correct virtual environment use

How to get the distribution name of an imported package in Python3.10+

Unpacking Python Packages How to Find the Distribution Name in Python 3 10 Have you ever needed to know the exact name of the Python package that you ve importe

2 min read 03-10-2024 38
How to get the distribution name of an imported package in Python3.10+
How to get the distribution name of an imported package in Python3.10+

How can I clean up the useless python packages?

Cleaning Up Your Python Environment Removing Unnecessary Packages Are you struggling with a cluttered Python environment filled with unused packages taking up v

2 min read 02-10-2024 25
How can I clean up the useless python packages?
How can I clean up the useless python packages?

Unable to import function from custom package built using pyproject.toml

Importing Functions from Custom Packages in Python A pyproject toml Guide Developing your own Python packages is a powerful way to organize code and reuse funct

2 min read 01-10-2024 28
Unable to import function from custom package built using pyproject.toml
Unable to import function from custom package built using pyproject.toml