-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsetup.py
executable file
·82 lines (79 loc) · 2.47 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
75
76
77
78
79
80
81
82
#!/usr/bin/env python3
# -*- coding: utf-8 -*-
#
# TypeAtlas Setup Script
# Written in 2021 by Milko Krachounov
#
# This file is part of TypeAtlas.
#
# To the extent possible under law, Milko Krachunov has waived all copyright
# and related or neighboring rights to TypeAtlas Setup Script.
# This software is distributed without any warranty.
#
# You should have received a copy of the CC0 legalcode along with this
# work. If not, see <http://creativecommons.org/publicdomain/zero/1.0/>.
#
from typeatlas import proginfo
from distutils.core import setup
with open('README.md', 'r', encoding='utf8') as readme:
long_description = readme.read()
setup(
name=proginfo.PROGRAM_CANON_NAME,
version=proginfo.VERSION,
url='https://gitlab.com/milkok/typeatlas',
description='TypeAtlas font explorer',
long_description_content_type="text/markdown",
long_description=long_description,
author=proginfo.AUTHOR,
author_email=proginfo.EMAIL,
license='GPLv3',
platforms=['GNU/Linux', 'POSIX'],
packages=['typeatlas', 'typeatlas.cli', 'typeatlas.data',
'typeatlas.foreign'],
package_data={
'typeatlas': [
'icons/README',
'icons/*.svgz',
'icons/dark/*.svgz',
'icons/16x16/*.svgz',
'icons/widgets/*.svgz',
'icons/flags/README',
'icons/flags/*.svgz',
'images/README',
'images/*.svgz',
'images/*.png',
'i18n/*.po',
],
'typeatlas.data': [
'*.tsv',
]
},
data_files = [
('share/applications', [
'extras/TypeAtlas.desktop',
'extras/GlyphAtlas.desktop',
]),
('share/icons', [
'typeatlas/icons/typeatlas.svgz',
'typeatlas/icons/glyphatlas.svgz',
]),
],
requires=[
'fonttools', 'PyQt5'
],
extras_require={
'accurate_filetype': ['magic'],
},
scripts=['typeatlas-qt', 'glyphatlas-qt', 'glyphatlas-select-qt', 'typefind'],
classifiers=[
'Programming Language :: Python :: 3',
'License :: OSI Approved :: GNU General Public License v3 (GPLv3)',
'Operating System :: OS Independent',
],
project_urls={
'Bug Tracker': 'https://gitlab.com/milkok/typeatlas/-/issues',
'Github Mirror': 'https://github.com/milkokr/typeatlas/',
'Screenshots': 'https://imgur.com/a/uoaN94p',
},
python_requires='>=3.5',
)