In a Python project that uses pyproject.toml (and setuptools), I want to have a custom version number provider. I want it to work like setuptools_scm, but use my own logic to determine the version (and preferably other fields such as description and author). I know it can be accomplished by using dynamic metadata, but I would like it to work just by including the module in [build-system]. How do I do that? How does setuptools knows where to get the metadata from?
Custom dynamic version provider for Python projects
24 Views Asked by avishorp At
0
There are 0 best solutions below
Related Questions in PYTHON
- How to store a date/time in sqlite (or something similar to a date)
- Instagrapi recently showing HTTPError and UnknownError
- How to Retrieve Data from an MySQL Database and Display it in a GUI?
- How to create a regular expression to partition a string that terminates in either ": 45" or ",", without the ": "
- Python Geopandas unable to convert latitude longitude to points
- Influence of Unused FFN on Model Accuracy in PyTorch
- Seeking Python Libraries for Removing Extraneous Characters and Spaces in Text
- Writes to child subprocess.Popen.stdin don't work from within process group?
- Conda has two different python binarys (python and python3) with the same version for a single environment. Why?
- Problem with add new attribute in table with BOTO3 on python
- Can't install packages in python conda environment
- Setting diagonal of a matrix to zero
- List of numbers converted to list of strings to iterate over it. But receiving TypeError messages
- Basic Python Question: Shortening If Statements
- Python and regex, can't understand why some words are left out of the match
Related Questions in SETUPTOOLS
- Custom dynamic version provider for Python projects
- Setuptools error when installing a local setup.py into virtual environment/Pipfile:
- Including non-Python files without __init__.py using `package_data` in setup.py?
- Persistent ModuleNotFoundError for 'distutils' Despite Updated setuptools in Python Environment
- Import a package but disable importing the relative parent
- Run a shell script during pip install
- How to use Spark Connect with pyspark on Python 3.12?
- setuptools pyproject.toml - managing paths of enclosed config files
- Package installation problems when using Python 3.12 and pip version 24.0
- Automatically Detecting and Installing Compatible Versions of `setuptools` and `pip` with PowerShell for Any Python Version
- setuptools.package-data has no effect within a docker container
- How to include package_data in pyproject.toml?
- Load two different python packages with the same name as gracefully as possible
- How can a python unit test work with data files specified in setup.py package_data
- Python's setuptools is failing to install at random in my Github Actions workflow
Related Questions in BUILD-SYSTEM
- Custom dynamic version provider for Python projects
- Using a Makefile for Java
- Premake issues with lua
- How to enable MSVC compiler warnings for specific files with CMAKE
- Publish and subscribe ROS noetic messages from Drake
- Always use specific toolchain (profile agnostic) to build the app
- Bazel execute python script before running cc_binary
- How to find folder with pattern in Cmake
- No build system showing in status bar (sublime text)
- What to do if clicking the build button does not do anything in Sublime Text?
- Sublime Text 4, no console output
- Integrating cmake project into bazel monorepo
- Apart from complexity, are there technical barriers to have a "crossplatform autotools"?
- How to do conditional compilation with Zig?
- Choosing the Right Build System for a Multi-Tech Stack Monorepo Project
Related Questions in PYPROJECT.TOML
- Conda Environment Export: is it possible to make something an optional dependency?
- How to write a minimally working pyproject.toml file that can install packages?
- How to use secondary source as a fallback for Python package installs?
- Keep specification format of `pyproject.toml` unchanged in automated dependabot pull requests
- poetry install --> not enough values to unpack
- Specifying pipenv dev-packages in pyproject.toml
- Pytest Not Discovering Tests in Specified Paths with pyproject.toml Configuration
- How to get isort to recognize the line_length option in my config file?
- Use layered requirements with project.optional-dependencies in pyproject.toml
- What is a reliable way to specify a minimum pip version?
- What is the best practice for releasing python packages with a base version and a full version?
- ERROR: Failed building wheel for aiohttp and ERROR: Could not build wheels for aiohttp, which is required to install pyproject.toml-based projects
- setup.py files equivalence of data-files attribute in pyproject.toml
- What is the proper way to build and reference an editable local Python module?
- entry point script problem with pyproject.toml
Trending Questions
- UIImageView Frame Doesn't Reflect Constraints
- Is it possible to use adb commands to click on a view by finding its ID?
- How to create a new web character symbol recognizable by html/javascript?
- Why isn't my CSS3 animation smooth in Google Chrome (but very smooth on other browsers)?
- Heap Gives Page Fault
- Connect ffmpeg to Visual Studio 2008
- Both Object- and ValueAnimator jumps when Duration is set above API LvL 24
- How to avoid default initialization of objects in std::vector?
- second argument of the command line arguments in a format other than char** argv or char* argv[]
- How to improve efficiency of algorithm which generates next lexicographic permutation?
- Navigating to the another actvity app getting crash in android
- How to read the particular message format in android and store in sqlite database?
- Resetting inventory status after order is cancelled
- Efficiently compute powers of X in SSE/AVX
- Insert into an external database using ajax and php : POST 500 (Internal Server Error)
Popular Questions
- How do I undo the most recent local commits in Git?
- How can I remove a specific item from an array in JavaScript?
- How do I delete a Git branch locally and remotely?
- Find all files containing a specific text (string) on Linux?
- How do I revert a Git repository to a previous commit?
- How do I create an HTML button that acts like a link?
- How do I check out a remote Git branch?
- How do I force "git pull" to overwrite local files?
- How do I list all files of a directory?
- How to check whether a string contains a substring in JavaScript?
- How do I redirect to another webpage?
- How can I iterate over rows in a Pandas DataFrame?
- How do I convert a String to an int in Java?
- Does Python have a string 'contains' substring method?
- How do I check if a string contains a specific word?