-
Notifications
You must be signed in to change notification settings - Fork 210
/
setup.py
74 lines (59 loc) · 2.1 KB
/
setup.py
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
import codecs
from os import path
from setuptools import setup, find_packages
from lector.logger import VERSION
HERE = path.abspath(path.dirname(__file__))
# Get the long description from the README file
with codecs.open(path.join(HERE, 'README.md'), encoding='utf-8') as f:
LONG_DESC = f.read()
INSTALL_DEPS = ['beautifulsoup4']
TEST_DEPS = []
DEV_DEPS = []
setup(
name='lector',
description='Qt-based ebook reader',
long_description=LONG_DESC,
url='https://github.com/BasioMeusPuga/Lector',
author='BasioMeusPuga',
author_email='disgruntled.mob@gmail.com',
license='GPL v3.0',
version=VERSION,
classifiers=[
# How mature is this project? Common values are
# 3 - Alpha
# 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.6',
],
# What does your project relate to?
keywords='qt ebook epub kindle mobi comic cbz cbr pdf',
packages=find_packages(),
entry_points={
'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:
# https://packaging.python.org/en/latest/requirements.html
install_requires=INSTALL_DEPS,
python_requires='>=3.6, <4.0',
package_data={'': ['about.html']},
data_files=[
('share/icons/hicolor/scalable/apps', ['lector/resources/raw/Lector.png']),
('share/applications', ['lector/resources/raw/io.github.BasioMeusPuga.Lector.desktop'])
],
include_package_data=True,
# List additional groups of dependencies here (e.g. development
# dependencies). You can install these using the following syntax,
# for example:
# $ pip install -e .[dev,test]
extras_require={
'dev': DEV_DEPS,
'test': TEST_DEPS,
'PDF': ['pymupdf']
},
)