Skip to content

Add platforms keyword to setup.py #37

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

Closed
carver opened this issue Nov 26, 2019 · 3 comments
Closed

Add platforms keyword to setup.py #37

carver opened this issue Nov 26, 2019 · 3 comments

Comments

@carver
Copy link
Collaborator

carver commented Nov 26, 2019

eg~

platforms=["unix", "linux", "osx"],
@davesque
Copy link
Contributor

Wow, I have been duck-duck-going around for a while now and I can't for the life of me find anything that says what platforms are valid in that argument or how that metadata is used. I've even been poking around in the setuptools and distutils source code and still can't find anything.

The general meaning is clear but I thought it would be good to know exactly what a person is saying about their package if they claim they support unix.

@carver
Copy link
Collaborator Author

carver commented Nov 26, 2019

I didn't pull this from the docs, so it's possible that it's deprecated or even just wrong. I saw it in the libp2p setup.py, which I think pulled from the py-ecc one.

@carver
Copy link
Collaborator Author

carver commented Jan 20, 2021

Hm, looks like the better option is to add a classifier anyway: https://stackoverflow.com/a/34994245

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

No branches or pull requests

2 participants