-
Notifications
You must be signed in to change notification settings - Fork 2.3k
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
No documentation about markers (such as platform) #738
Comments
What I'm using Poetry 0.12.10. poetry remove pywin32-ctypes
pip uninstall -y pywin32-ctypes
pyinstaller
poetry add --platform=windows pywin32-ctypes
pyinstaller And I"ve tried windows, Windows, nt, and pywin32-ctypes never gets installed. EDIT: extras_require = \
{':sys_platform == "windows"': ['pywin32-ctypes>=0.2.0,<0.3.0']}
|
I was looking into this recently and cound't find the documentation either, are platform markers officially supported? |
Could this be documented please? @sdispater |
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions. |
/ unstale 📦 |
can I check if
is a valid setup.py format? Because I get format error (extras_require must be a dict of xyz) when I tried to do |
where can I find the documentation for specifying sys_platform. According to the thread, it's added to the document, however I can't find it in the document. |
@zillionare It's in the "Dependency specification -- Using environment markers" section. Example:
The complete specification for environment markers is in PEP 508. |
Is it possible to restrict the whole package to be on, say, Linux only? Do I have to use marker for every package or is there a simple way of specifying OS restrictions? |
@dclong Use trove classifiers. They are an informal (non-enforced) restriction:
|
@sinoroc This is awesome! Thank you very much for the links! I will check them. |
This issue has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs. |
Issue
There seems to be no mention in the documentation of the usage and supported markers, but they do seem to be supported according to #21
The text was updated successfully, but these errors were encountered: