mirror of
https://github.com/zama-ai/concrete.git
synced 2026-02-09 20:25:34 -05:00
chore(python): change version file
we don't want the version file to be included in the package to not clash with version files of other subpackages, as it should be part of the bigger concrete namespace package
This commit is contained in:
@@ -161,7 +161,7 @@ release_tarballs:
|
||||
docker container run --rm -v ${PWD}/../tarballs:/tarballs_volume concretefhe-compiler-manylinux:linux_x86_64_tarball cp -r /tarballs/. /tarballs_volume/.
|
||||
|
||||
update_python_version:
|
||||
echo "__version__ = \"`git describe --tags --abbrev=0 | grep -e '[0-9].*' -o`\"" > lib/Bindings/Python/concrete/version.py
|
||||
echo "__version__ = \"`git describe --tags --abbrev=0 | grep -e '[0-9].*' -o`\"" > lib/Bindings/Python/version.txt
|
||||
|
||||
.PHONY: build-initialized \
|
||||
build-end-to-end-jit \
|
||||
|
||||
@@ -27,7 +27,6 @@ declare_mlir_python_sources(ConcretelangBindingsPythonSources
|
||||
ROOT_DIR "${CMAKE_CURRENT_SOURCE_DIR}"
|
||||
SOURCES
|
||||
concrete/compiler.py
|
||||
concrete/version.py
|
||||
concrete/__init__.py
|
||||
concrete/lang/__init__.py
|
||||
concrete/lang/dialects/__init__.py
|
||||
|
||||
@@ -1,4 +0,0 @@
|
||||
# Part of the Concrete Compiler Project, under the BSD3 License with Zama Exceptions.
|
||||
# See https://github.com/zama-ai/homomorphizer/blob/master/LICENSE.txt for license information.
|
||||
|
||||
__version__ = "0.1.0-rc1"
|
||||
1
compiler/lib/Bindings/Python/version.txt
Normal file
1
compiler/lib/Bindings/Python/version.txt
Normal file
@@ -0,0 +1 @@
|
||||
__version__ = "0.1.0-rc1"
|
||||
@@ -14,7 +14,7 @@ def read(fname):
|
||||
def find_version():
|
||||
return re.match(
|
||||
r"__version__ = \"(?P<version>.+)\"",
|
||||
read("lib/Bindings/Python/concrete/version.py"),
|
||||
read("lib/Bindings/Python/version.txt"),
|
||||
).group("version")
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user