Skip to content

Commit

Permalink
Indicate Py2/3 compatibility
Browse files Browse the repository at this point in the history
  • Loading branch information
mediaminister committed Mar 4, 2020
1 parent bb3bf28 commit 9aaa7fc
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 1 deletion.
4 changes: 3 additions & 1 deletion addon.xml
Original file line number Diff line number Diff line change
@@ -1,10 +1,12 @@
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<addon id="script.module.inputstreamhelper" name="InputStream Helper" version="0.4.4" provider-name="emilsvennesson, dagwieers, mediaminister">
<requires>
<!--py3 compliant-->
<!--<import addon="xbmc.python" version="2.25.0" target="3.0.0"/>-->
<import addon="xbmc.python" version="2.25.0"/>
<import addon="script.module.pysocks" version="1.6.8" optional="true"/>
</requires>
<!-- This is needed to get an addon icon -->
<!-- This is needed to get an add-on icon -->
<extension point="xbmc.python.script" library="default.py">
<provides>executable</provides>
</extension>
Expand Down
10 changes: 10 additions & 0 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,17 @@
long_description=open(os.path.join(project_dir, 'README.md')).read(),
keywords='Kodi, plugin, inputstream, helper',
license='MIT',
python_requires='>=2.7',
package_dir={'': 'lib'},
packages=find_packages('lib'),
classifiers=[
'Development Status :: 5 - Production/Stable',
'Programming Language :: Python',
'Programming Language :: Python :: 2.7',
'Programming Language :: Python :: 3.5',
'Programming Language :: Python :: 3.6',
'Programming Language :: Python :: 3.7',
'Programming Language :: Python :: 3.8',
],
zip_safe=False,
)

0 comments on commit 9aaa7fc

Please sign in to comment.