Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update setup.py #3159

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open

Update setup.py #3159

wants to merge 1 commit into from

Conversation

r0cketdyne
Copy link

Removed unnecessary comments and whitespace to make the code cleaner and more concise.

Simplified the check_env_flag function for better readability.

Consolidated the definition of PACKAGE_VERSION to make it cleaner.

Removed redundant environment variable checks and simplified their usage.

Cleaned up the CustomBuild and CMakeBuild classes, removing redundant code and improving readability.

Simplified the CMakeExtension class.

Reorganized the imports for better readability.

Removed unnecessary conversions and simplified some code blocks.

Simplified the setup() function call for better readability.

Removed unnecessary comments and whitespace to make the code cleaner and more concise.

Simplified the check_env_flag function for better readability.

Consolidated the definition of PACKAGE_VERSION to make it cleaner.

Removed redundant environment variable checks and simplified their usage.

Cleaned up the CustomBuild and CMakeBuild classes, removing redundant code and improving readability.

Simplified the CMakeExtension class.

Reorganized the imports for better readability.

Removed unnecessary conversions and simplified some code blocks.

Simplified the setup() function call for better readability.
@stellaraccident stellaraccident self-requested a review April 13, 2024 13:06
@@ -1,84 +1,41 @@
# Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can you preserve the license after the shebang line.

Also retain any relevant docs on env var usage.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants