robotpy / robotpy-build

(mostly) automated C++ wrapping for Python
BSD 3-Clause "New" or "Revised" License
35 stars 16 forks source link

Allow overriding `python_requires` #140

Open auscompgeek opened 2 years ago

auscompgeek commented 2 years ago

We would like to allow packages that use robotpy-build to override the python_requires, which is currently always set to >=3.6 (as documented here).

It's set in our setuptools wrapper function here, which means it can't be overridden currently:

https://github.com/robotpy/robotpy-build/blob/e738ad3a21027af004d4f3fafdb846fb8753262b/robotpy_build/setup.py#L92

Moving it to the metadata config model would probably work, but I haven't tested it.

virtuald commented 2 years ago

@yashmadke if you find the places where python_requires is used when building a package and make it configurable that should meet our needs.

virtuald commented 2 years ago

This is a project for wrapping C++ objects so they can be used in Python. Are you sure you're asking your question at the right place?

virtuald commented 2 years ago

This isn't the right place to ask that question. Go to https://discuss.python.org/ or stack overflow and ask there.