@@ -253,7 +253,9 @@ def run(self):
253253
254254
255255def get_version ():
256- if "AIE_WHEEL_VERSION" in os .environ :
256+ if "AIE_WHEEL_VERSION" in os .environ and os .environ ["AIE_WHEEL_VERSION" ].lstrip (
257+ "v"
258+ ):
257259 return os .environ ["AIE_WHEEL_VERSION" ].lstrip ("v" )
258260 release_version = "0.0.1"
259261 commit_hash = os .environ .get ("AIE_PROJECT_COMMIT" , "deadbeef" )
@@ -284,25 +286,8 @@ def parse_requirements(filename):
284286
285287setup (
286288 version = get_version (),
287- author = "AMD Inc." ,
288- author_email = "joseph.melber@amd.com" ,
289- name = "mlir-aie" ,
290- url = "https://github.com/Xilinx/mlir-aie" ,
291- license = "Apache License v2.0 with LLVM Exceptions" ,
289+ license = "Apache-2.0 WITH LLVM-exception" ,
292290 include_package_data = True ,
293- description = f"An MLIR-based toolchain for Xilinx Versal AIEngine-based devices." ,
294- long_description = dedent (
295- """\
296- This repository contains an [MLIR-based](https://mlir.llvm.org/) toolchain for Xilinx Versal
297- AIEngine-based devices. This can be used to generate low-level configuration for the AIEngine portion of the
298- device, including processors, stream switches, TileDMA and ShimDMA blocks. Backend code generation is
299- included, targetting the LibXAIE library. This project is primarily intended to support tool builders with
300- convenient low-level access to devices and enable the development of a wide variety of programming models
301- from higher level abstractions. As such, although it contains some examples, this project is not intended to
302- represent end-to-end compilation flows or to be particularly easy to use for system design.
303- """
304- ),
305- long_description_content_type = "text/markdown" ,
306291 # note the name here isn't relevant because it's the install (CMake install target) directory that'll be used to
307292 # actually build the wheel.
308293 ext_modules = [CMakeExtension ("_mlir_aie" , sourcedir = MLIR_AIE_SOURCE_DIR )],
0 commit comments