-
Notifications
You must be signed in to change notification settings - Fork 91
Constrain GDAL to one minor version for wheel builds #2487
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
base: main
Are you sure you want to change the base?
Changes from all commits
209620c
83a2581
9441c41
507dee4
d80a706
e131e6c
4163564
41a4150
546482d
92c5e8e
e16f68a
b36e95c
e5c66fc
959baa1
7e40d9a
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -8,13 +8,6 @@ | |
| from setuptools.command.build_py import build_py as _build_py | ||
| from setuptools.extension import Extension | ||
|
|
||
| # Read in requirements.txt and populate the python readme with the | ||
| # non-comment, non-environment-specifier contents. | ||
| _REQUIREMENTS = [req.split(';')[0].split('#')[0].strip() for req in | ||
|
Member
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. This is not a necessary change for this PR, but we might as well take advantage of the support for reading a requirements file directly in pyproject.toml.
Member
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Yep, makes sense to consolidate towards pyproject.toml wherever possible! |
||
| open('requirements.txt').readlines() | ||
| if (not req.startswith(('#', 'hg+', 'git+')) | ||
| and len(req.strip()) > 0)] | ||
|
|
||
| include_dirs = [numpy.get_include(), 'src/natcap/invest/managed_raster'] | ||
| if platform.system() == 'Windows': | ||
| compiler_args = ['/std:c++20'] | ||
|
|
@@ -60,7 +53,6 @@ def run(self): | |
|
|
||
|
|
||
| setup( | ||
| install_requires=_REQUIREMENTS, | ||
| ext_modules=cythonize([ | ||
| Extension( | ||
| name=f'natcap.invest.{package}.{module}', | ||
|
|
||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We're not using
optional-dependencies(though maybe we should!), so I removed it for now.