Is there a way to use PEP440-style beta release tags, such as v0.1.3b0 with setuptools_scm? It currently gives an error invalid literal for int() with base 10: ‘3b0’. This is from version 5.0.1 of setuptools_scm, which is the most recent as of today. Source: Python..
I’d like to add a comment to my setup.cfg but I do not know the right syntax setup.cfg [metadata] name = mypackage version = 0.0.1 [options] packages = mypackage pyproject.toml [build-system] requires = ["setuptools", "wheel"] build-backend = "setuptools.build_meta" mypackage/init.py empty Source: Python..
I’m a statistician that is new to Python. I had written a Python program that worked successfully on my laptop, which recently had to be reformatted due an error in Windows. My Python program was recovered and stored in a new folder, and the technicians also created a generic ‘User’ for Windows instead of the ..
I created a package which has 2 modes: the basic mode with basic functionality only extended functionality which adds additional modules and needs extra requirements. For example: MyPackageName core cyber_analyzer parsing Where "parsing" is the extension and needs "pandas" as requirement. Then, I want my package to have 2 modes: pip install mypackage pip install ..
I created multiple packages according to the PEP420 implicit namespace packaging method. Two of those distribution packages are dende-github-api and dende-gitlab-api. Each of those distributions contains one module which I want to be accessible unter the dende.api namespace. A minimal working example can be found here: https://github.com/dende/example-monorepositry This is the folder structure of the Repository ..
msgpack includes an optional cython extension. Some users of the package want py3-none-any wheels of msgpack. I’m trying to figure out how to make it possible to build wheels both with and without the optional extension. Source: Python..
There is no indication in the documentation that you can specify multiple links for the same package dependency: https://setuptools.readthedocs.io/en/latest/userguide/dependency_management.html#dependencies-that-aren-t-in-pypi Use Case — Authentication using multiple methods for Github (Token or SSH) Authenticating a private repo in GitHub can be done with either an SSH key or GitHub token. In setup.py, you can specify it with ..
How can one ensure the presence of the wheel package at install time? wheel is imported by setup.py so it cannot be added (is to late) to setup_requires. How is this problem properly solved? Source: Python-3x..
Some help please. I’m trying to install my package locally. That is – pip install .. However, when reading may package’s __init__.py file, it raises an ImportError for either absolute importations (from <package> import module) and relative ones (from . import module). The thing is, that when I install the file in "developement-mode"/"editable" (pip install ..
I am trying to run python a setup build/install script programmatically (in this case the Python-Matlab engine), that is run the following python setup.py build –build-base="C:temp" equivalently from a python program. I’ve come up with the following which does not work (as the setup seems to try to install in the setup script directory from ..