Fix bugs in setuptools packaging
This commit is contained in:
26
setup.py
26
setup.py
@@ -8,9 +8,9 @@ HERE = path.abspath(path.dirname(__file__))
|
||||
with codecs.open(path.join(HERE, 'README.md'), encoding='utf-8') as f:
|
||||
LONG_DESC = f.read()
|
||||
|
||||
INSTALL_DEPS = ['PyQt5==5.10.1',
|
||||
'requests==2.18.4',
|
||||
'beautifulsoup4==4.6.0']
|
||||
INSTALL_DEPS = ['PyQt5>=5.10.1',
|
||||
'requests>=2.18.4',
|
||||
'beautifulsoup4>=4.6.0']
|
||||
TEST_DEPS = ['pytest',
|
||||
'unittest2']
|
||||
DEV_DEPS = []
|
||||
@@ -38,27 +38,20 @@ setup(
|
||||
# 4 - Beta
|
||||
# 5 - Production/Stable
|
||||
'Development Status :: 3 - Alpha',
|
||||
|
||||
'Intended Audience :: End Users/Desktop',
|
||||
|
||||
'License :: OSI Approved :: GNU General Public License v3 (GPLv3)',
|
||||
|
||||
'Programming Language :: Python :: 3',
|
||||
'Programming Language :: Python :: 3.4',
|
||||
'Programming Language :: Python :: 3.5',
|
||||
'Programming Language :: Python :: 3.6',
|
||||
],
|
||||
|
||||
# What does your project relate to?
|
||||
keywords='qt ebook epub kindle',
|
||||
keywords='qt ebook epub kindle mobi',
|
||||
|
||||
packages=find_packages(),
|
||||
|
||||
entry_points={
|
||||
'console_scripts': [
|
||||
'lector = lector.__main__:main'
|
||||
]
|
||||
},
|
||||
'gui_scripts': [
|
||||
'lector = lector.__main__:main']
|
||||
},
|
||||
# List run-time dependencies here. These will be installed by pip when
|
||||
# your project is installed. For an analysis of "install_requires" vs pip's
|
||||
# requirements files see:
|
||||
@@ -67,7 +60,10 @@ setup(
|
||||
|
||||
setup_requires=['setuptools_scm'],
|
||||
|
||||
python_requires='>=3.4, <4.0',
|
||||
python_requires='>=3.6, <4.0',
|
||||
|
||||
package_data={'lector': ['about.html', '*.png', '*.svg', '*.qrc']},
|
||||
include_package_data=True,
|
||||
|
||||
# List additional groups of dependencies here (e.g. development
|
||||
# dependencies). You can install these using the following syntax,
|
||||
|
Reference in New Issue
Block a user