-
- Downloads
There was a problem fetching the pipeline summary.
Get version number w/o pkg_resources
This removes most of the usages of pkg_resources from the codebase, helping the goal of getting rid of that completely. With this change, version number is generated during install and embedded into `__version__` which is then imported by root level `__init__`. From there, it is used by other parts of the codebase when needed. Generated `__version__` file is ignored and not tracked by git to prevent unnecessary 'changes' messages and accidental commits of that file.
Showing
- .gitignore 3 additions, 0 deletions.gitignore
- buildstream/__init__.py 1 addition, 0 deletionsbuildstream/__init__.py
- buildstream/_frontend/main.py 1 addition, 4 deletionsbuildstream/_frontend/main.py
- buildstream/_frontend/widget.py 2 additions, 3 deletionsbuildstream/_frontend/widget.py
- buildstream/utils.py 2 additions, 3 deletionsbuildstream/utils.py
- setup.py 10 additions, 1 deletionsetup.py
Please register or sign in to comment