Skip to content
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

Do not install package on python 2 #83

Merged
merged 1 commit into from
Feb 13, 2023

Conversation

NewGlad
Copy link
Contributor

@NewGlad NewGlad commented Feb 10, 2023

python_requires argument for setuptools.setup didn't work for my python2, so I just added a simple condition to check python version

@NewGlad NewGlad changed the title raise RuntimeError on python2 Do not install package on python 2 Feb 10, 2023
@@ -1,7 +1,12 @@
from setuptools import setup, find_packages
import sys
from codecs import open
from os import path

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can this extra newline be removed?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Imports sorted corresponding to PEP8: https://peps.python.org/pep-0008/#imports

Imports should be grouped in the following order:

Standard library imports.
Related third party imports.
Local application/library specific imports.
You should put a blank line between each group of imports.

Copy link
Owner

@Serchinastico Serchinastico left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you for your contribution 🙌🏼

@Serchinastico Serchinastico merged commit a20f287 into Serchinastico:master Feb 13, 2023
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

Successfully merging this pull request may close these issues.

None yet

3 participants