Skip to content

Commit

Permalink
last try
Browse files Browse the repository at this point in the history
  • Loading branch information
tlambert03 committed Dec 8, 2024
1 parent 950def4 commit 173e523
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 deletions.
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ dependencies = [
[project.optional-dependencies]
dev = [
"cython",
"gurobipy", # used on CI to confirm equality of results
"gurobipy==11.0.3; sys_platform!='windows' and python_version<'3.12'", # used to confirm equality of results
"ipython",
"mypy",
"numpy",
Expand Down
4 changes: 1 addition & 3 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,13 +7,11 @@

CONDA_PREFIX = os.environ.get("CONDA_PREFIX")
if CONDA_PREFIX:
# gurobi seems to be putting its libraries in the top of the conda env
os.environ["PATH"] += os.pathsep + CONDA_PREFIX
else:
print("CONDA_PREFIX not set!, did you active a conda environment?")

# gurobi seems to be putting its libraries in the top of the conda env
print("CONDA_PREFIX:", CONDA_PREFIX)
print("PATH:", os.environ["PATH"])

# enable test coverage tracing if CYTHON_TRACE is set to a non-zero value
CYTHON_TRACE = int(os.getenv("CYTHON_TRACE") in ("1", "True"))
Expand Down

0 comments on commit 173e523

Please sign in to comment.