-
Notifications
You must be signed in to change notification settings - Fork 5
/
setup.py
executable file
·59 lines (53 loc) · 2.38 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
#! /usr/bin/python3
# -*- coding:Utf-8 -*-
import os
from setuptools import setup
images = [os.path.join("mynoteslib/images/", img) for img in os.listdir("mynoteslib/images/")]
data_files = [("/usr/share/pixmaps", ["mynotes.svg", "mynotes-tray.svg"]),
("/usr/share/doc/mynotes", ["README.rst", "changelog"]),
("/usr/share/man/man1", ["mynotes.1.gz"]),
("/usr/share/mynotes/images", images),
("/usr/share/applications", ["mynotes.desktop"])]
for lang in os.listdir("mynoteslib/locale/"):
data_files.append(("/usr/share/locale/%s/LC_MESSAGES/" % lang, ["mynoteslib/locale/%s/LC_MESSAGES/MyNotes.mo" % lang]))
with open("mynoteslib/version.py") as file:
exec(file.read())
setup(name="mynotes",
version=__version__,
description="Post-it system tray app",
keywords=["post-it", "sticky", "notes", "tkinter"],
author="Juliette Monsel",
author_email="[email protected]",
license='GPLv3',
classifiers=[
'Development Status :: 5 - Production/Stable',
'Environment :: X11 Applications',
'Intended Audience :: End Users/Desktop',
'Topic :: Text Editors',
'Topic :: Office/Business',
'License :: OSI Approved :: GNU General Public License v3 (GPLv3)',
'Programming Language :: Python :: 3',
'Programming Language :: Python :: 3.5',
'Programming Language :: Python :: 3.6',
'Natural Language :: English',
'Natural Language :: French',
'Natural Language :: Dutch',
'Natural Language :: German',
'Natural Language :: Spanish',
'Natural Language :: Catalan',
'Operating System :: POSIX :: Linux',
],
url="https://github.com/j4321/MyNotes",
packages=['mynoteslib', 'mynoteslib.trayicon', 'mynoteslib.config'],
package_data={'mynoteslib': ['packages.tcl']},
scripts=["mynotes"],
data_files=data_files,
long_description="""
MyNotes is a sticky notes/post-it application. Notes are created using
the system tray icon. They can be organized in categories and each
category has a color. Images, checkboxes and a few predefined symbols
can be inserted in the notes. The style of the text can be changed
(alignment, style).
""",
extras_require={'basic LaTeX formula support': ['matplotlib']},
install_requires=['Pillow', 'ewmh'])