Top "Python-packaging" questions

Packages are namespaces which contain multiple packages and modules themselves.

How do I use a relative path in a Python module when the CWD has changed?

I have a Python module which uses some resources in a subdirectory of the module directory. After searching around on …

python relative-path python-packaging
How do imports work in IPython

I'm a little bewildered by exactly how import statements work in IPython. I've turned up nothing through web searches. Implicit …

python ipython relative-path python-packaging
Multilevel relative import

Multilevel relative import I have following folder structure top\ __init__.py util\ __init__.py utiltest.py foo\ __init__.py foo.…

python relative-path python-packaging
Can't install textract on windows

I've tried lots of things but still fail when I'm trying to install textract package on my Windows by using …

python windows package installation python-packaging
__init__.py does not find modules in same directory

I need assistance on how to organize source in a python package - I've already followed several tutorials on the …

python python-packaging
How to list dependencies for a python library without installing?

Is there a way to get a list of dependencies for a given python package without installing it first? I …

python pip python-packaging
How do I add cv2 as a requirement in a python package?

I'm trying to make my own package which uses OpenCV Python module cv2. However when using PyCharm, it warns that …

python opencv pycharm python-packaging
Remove packages from local pypi index

This is similar to this question with one exception. I want to remove a few specific versions of the package …

setuptools pypi python-packaging devpi pypiserver
Python: Multiple packages in one repository or one package per repository?

I have a big Python 3.7+ project and I am currently in the process of splitting it into multiple packages that …

python python-3.x github setuptools python-packaging
Difference between 'Directory' and 'Python Package' in PyCharm

When to use Directory over Python Package? PS: I understand that I can import from latter but not former. If …

pycharm python-packaging