summaryrefslogtreecommitdiff
path: root/.gitignore
diff options
context:
space:
mode:
authorGökçen Nurlu <gnurlu1@bloomberg.net>2018-01-11 18:06:45 +0000
committerJürg Billeter <j@bitron.ch>2018-01-31 15:48:15 +0100
commit8890142147a6f3a460a0f7a0690996a9c6b48137 (patch)
treedac7d0f6c4673c02d132132f4e530162841ffab5 /.gitignore
parent4304611452a9ba8f461e302d2852c54023356826 (diff)
downloadbuildstream-8890142147a6f3a460a0f7a0690996a9c6b48137.tar.gz
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.
Diffstat (limited to '.gitignore')
-rw-r--r--.gitignore3
1 files changed, 3 insertions, 0 deletions
diff --git a/.gitignore b/.gitignore
index b99e24897..1bfb5c411 100644
--- a/.gitignore
+++ b/.gitignore
@@ -16,3 +16,6 @@ tmp
# Integration test results
/integration-tests/*results/
+
+# Generated version file
+buildstream/__version__.py \ No newline at end of file