~umang/indicator-stickynotes/trunk

« back to all changes in this revision

Viewing changes to setup.py

  • Committer: Umang Varma
  • Date: 2012-06-24 20:43:03 UTC
  • Revision ID: git-v1:7154d9e47e06f4ca05d7f5a2acdd48d6d6efb3a7
Added .desktop and setup.py files.

In addition stick.py was moved to indicator-stickynotes.py so that it looks more
like its final installed name.

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
#!/usr/bin/python3
 
2
# -*- coding: utf-8 -*-
 
3
 
4
# Copyright © 2012 Umang Varma <umang.me@gmail.com>
 
5
 
6
# This file is part of indicator-stickynotes.
 
7
 
8
# indicator-stickynotes is free software: you can redistribute it and/or
 
9
# modify it under the terms of the GNU General Public License as published by
 
10
# the Free Software Foundation, either version 3 of the License, or (at your
 
11
# option) any later version.
 
12
 
13
# indicator-stickynotes is distributed in the hope that it will be useful, but
 
14
# WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
 
15
# or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License for
 
16
# more details.
 
17
 
18
# You should have received a copy of the GNU General Public License along with
 
19
# indicator-stickynotes.  If not, see <http://www.gnu.org/licenses/>.
 
20
 
 
21
from distutils.core import setup
 
22
import glob
 
23
 
 
24
setup(name='indicator-stickynotes',
 
25
        version='0.1',
 
26
        description='Sticky Notes AppIndicator',
 
27
        author='Umang Varma',
 
28
        author_email='umang.me@gmail.com',
 
29
        url='https://www.launchpad.net/indicator-stickynotes/',
 
30
        packages=['stickynotes',],
 
31
        scripts=['indicator-stickynotes.py',],
 
32
        data_files=[('Icons', glob.glob("Icons/*.png")),
 
33
            ('/usr/share/icons/hicolor/48x48/apps/',
 
34
                ('Icons/48x48/indicator-stickynotes.png',)),
 
35
            ('/usr/share/icons/hicolor/256x256/apps/',
 
36
                ('Icons/256x256/indicator-stickynotes.png',)),
 
37
            ('/usr/share/applications/',
 
38
                ('indicator-stickynotes.desktop',)),
 
39
            ('', ('COPYING', 'style.css', 'StickyNotes.glade')),]
 
40
        )