Skip to content

Commit

Permalink
Remove references to distutils
Browse files Browse the repository at this point in the history
  • Loading branch information
caseycronyn committed Nov 15, 2023
1 parent 8c0e11f commit 9e6657d
Showing 1 changed file with 10 additions and 14 deletions.
24 changes: 10 additions & 14 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,25 +14,21 @@

from os.path import dirname, join
import plyer
from setuptools import setup
import io

EXTRA_OPTIONS = {}

try:
from setuptools import setup
EXTRA_OPTIONS = dict(
EXTRA_OPTIONS, **{
'extras_require': {
'ios': ['pyobjus'],
'macosx': ['pyobjus'],
'android': ['pyjnius'],
'dev': ['mock', 'flake8']
}
EXTRA_OPTIONS = dict(
EXTRA_OPTIONS, **{
'extras_require': {
'ios': ['pyobjus'],
'macosx': ['pyobjus'],
'android': ['pyjnius'],
'dev': ['mock', 'flake8']
}
)

except ImportError:
from distutils.core import setup
}
)

CURDIR = dirname(__file__)
PACKAGES = [
Expand Down

0 comments on commit 9e6657d

Please sign in to comment.