Category "python-packaging"

How to create my own Python package and save it on my computer

I created a package. It's a function I need to use in almost every Tkinter project of mine. It centers my Tkinter window on the screen of the user. How do I mak

Correct use of PEP 508 environment markers in setup.cfg

I am trying to make use of PEP 496 -- Environment Markers and PEP 508 -- Dependency specification for Python Software Packages by specifying dependencies that o

How to import a module from a different folder?

I have a project which I want to structure like this: myproject ├── api │ ├── __init__.py │ └─&#

Is `setup.cfg` deprecated?

It's not completely clear to me, what is the status of setup.cfg. I am looking for solutions for my other question about PEP 508 environment markers, and I beca

Python 'requirements.txt' file in package

SITUATION: I have created a python package where I use the following libraries: matplotlib regex statistics os unittest coverage my problem is that when I do pi

How to access python package metadata from within the python console?

If I have built a python package employing distutils.core, e.g. via setup( ext_package="foo", author="me", version="1.0", description="foo pack