This repository was archived by the owner on Jan 19, 2022. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 7
Expand file tree
/
Copy pathsetup.py
More file actions
67 lines (62 loc) · 2.17 KB
/
Copy pathsetup.py
File metadata and controls
67 lines (62 loc) · 2.17 KB
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
# Authors: David Whitlock <alovedalongthe@gmail.com>
# A minimalistic image viewer
# Copyright (C) 2013-2014 David Whitlock
#
# Cheesemaker is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation, either version 3 of the License, or
# (at your option) any later version.
#
# Cheesemaker is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with Cheesemaker. If not, see <http://www.gnu.org/licenses/gpl.html>.
import os
from setuptools import setup
with open('README.rst') as f:
long_description = f.read()
def add_data():
try:
data_files = [('share/applications', ['extra/cheesemaker.desktop']),
('share/pixmaps', ['extra/cheesemaker.png'])]
return data_files
except:
return
if os.name == 'posix':
data_files = add_data()
else:
data_files = None
setup(
name = 'cheesemaker',
version = '0.3.9',
author='David Whitlock',
author_email='alovedalongthe@gmail.com',
url = 'https://github.com/riverrun/cheesemaker',
description = 'A minimalistic image viewer using Python3 and PyQt5',
long_description=long_description,
license='GPLv3',
packages = ['cheesemaker'],
include_package_data=True,
data_files=data_files,
zip_safe=False,
classifiers=[
'Development Status :: 4 - Beta',
'Environment :: X11 Applications :: Qt',
'Intended Audience :: End Users/Desktop',
'Intended Audience :: Developers',
'License :: OSI Approved :: GNU General Public License v3 (GPLv3)',
'Operating System :: POSIX',
'Programming Language :: Python',
'Programming Language :: Python :: 3',
'Topic :: Multimedia :: Graphics',
'Topic :: Multimedia :: Graphics :: Viewers',
],
entry_points={
'gui_scripts': [
'cheesemaker = cheesemaker.gui:main',
]
},
)