-
Notifications
You must be signed in to change notification settings - Fork 10
/
setup.py
31 lines (28 loc) · 1.39 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
#!/usr/bin/python3
from distutils.core import setup
'''Here we are defining where should be placed each file'''
install_data = [
('share/applications', ['data/com.github.mirkobrombin.elementarypython.desktop']),
('share/metainfo', ['data/com.github.mirkobrombin.elementarypython.appdata.xml']),
('share/icons/hicolor/128x128/apps',['data/com.github.mirkobrombin.elementarypython.svg']),
('bin/elementarypython',['elementarypython/constants.py']),
('bin/elementarypython',['elementarypython/headerbar.py']),
('bin/elementarypython',['elementarypython/main.py']),
('bin/elementarypython',['elementarypython/welcome.py']),
('bin/elementarypython',['elementarypython/window.py']),
('bin/elementarypython',['elementarypython/__init__.py']),
('bin/elementarypython/locale/it_IT/LC_MESSAGES', ['elementarypython/locale/it_IT/LC_MESSAGES/elementarypython.mo']),
('bin/elementarypython/locale/it_IT/LC_MESSAGES', ['elementarypython/locale/it_IT/LC_MESSAGES/elementarypython.po'])
]
'''Let's go and infuse our application into the system.'''
setup(
name='Elementary Python',
version='1.0',
author='Mirko Brombin',
description='This is just a python template',
url='https://git.mirko.pm/brombinmirko/ElementaryPython',
license='GNU GPL3',
scripts=['com.github.mirkobrombin.elementarypython'],
packages=['elementarypython'],
data_files=install_data
)