fix circula deps of six - lint fix
This commit is contained in:
parent
3b21176de4
commit
4035262212
7
setup.py
7
setup.py
@ -6,7 +6,6 @@ import shutil
|
|||||||
import sys
|
import sys
|
||||||
from importlib import import_module
|
from importlib import import_module
|
||||||
|
|
||||||
import six
|
|
||||||
from setuptools import Extension, setup
|
from setuptools import Extension, setup
|
||||||
from setuptools.command.install import install
|
from setuptools.command.install import install
|
||||||
|
|
||||||
@ -83,7 +82,7 @@ if __name__ == "__main__":
|
|||||||
'images/kivy/text_images*.png'
|
'images/kivy/text_images*.png'
|
||||||
]}
|
]}
|
||||||
|
|
||||||
if six.PY3:
|
if sys.version_info[0] == 3:
|
||||||
packages.extend(
|
packages.extend(
|
||||||
[
|
[
|
||||||
'pybitmessage.bitmessagekivy',
|
'pybitmessage.bitmessagekivy',
|
||||||
@ -92,7 +91,9 @@ if __name__ == "__main__":
|
|||||||
)
|
)
|
||||||
|
|
||||||
if os.environ.get('INSTALL_TESTS', False):
|
if os.environ.get('INSTALL_TESTS', False):
|
||||||
packages.extend(['pybitmessage.mockbm', 'pybitmessage.backend', 'pybitmessage.bitmessagekivy.tests'])
|
packages.extend(
|
||||||
|
['pybitmessage.mockbm', 'pybitmessage.backend', 'pybitmessage.bitmessagekivy.tests']
|
||||||
|
)
|
||||||
package_data[''].extend(['bitmessagekivy/tests/sampleData/*.dat'])
|
package_data[''].extend(['bitmessagekivy/tests/sampleData/*.dat'])
|
||||||
|
|
||||||
# this will silently accept alternative providers of msgpack
|
# this will silently accept alternative providers of msgpack
|
||||||
|
Reference in New Issue
Block a user