-
Notifications
You must be signed in to change notification settings - Fork 193
Open
Labels
area/healthInvolves general matters of project configuration, health, maintenance, and similar concernsInvolves general matters of project configuration, health, maintenance, and similar concernsarea/pythonInvolves the Python code in qsimInvolves the Python code in qsim
Description
What is the task?
In setup.py, there is code to define a compile-time variable VERSION_INFO:
Lines 111 to 115 in d913ad7
| env = os.environ.copy() | |
| cxxflags = env.get("CXXFLAGS", "") | |
| env["CXXFLAGS"] = ( | |
| f'{cxxflags} -DVERSION_INFO=\\"{self.distribution.get_version()}\\"' | |
| ) |
However, a search of the code base reveals VERSION_INFO is not used anywhere:
We can remove this dead code and simplify setup.py.
(Optional) Do you have ideas or preferences for the approach?
No response
How urgent is this for you?
None
Metadata
Metadata
Assignees
Labels
area/healthInvolves general matters of project configuration, health, maintenance, and similar concernsInvolves general matters of project configuration, health, maintenance, and similar concernsarea/pythonInvolves the Python code in qsimInvolves the Python code in qsim
