tuxsoul / opentumblr forked from jyr/opentumblr

A simple, incredible and functional app, for tumblr run’s on Mac OS X , Windows, AND Linux (Different Flavors Best with Debian)

opentumblr / setup.py
100644 36 lines (28 sloc) 1.305 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
import os
from distutils.core import setup
#from distutils.sysconfig import get_python_lib
 
 
ipath_docs = '/usr/share/doc/opentumblr/'
ipath_images = '/usr/share/pixmaps/opentumblr/'
ipath_dashboard = ipath_images+'dashboard/'
ipath_desktop = '/usr/share/applications/'
 
path_images = os.getcwd() + '/opentumblr/images/'
 
image_files = [path_images+'audio.png',path_images+'chat.png',path_images+'link.png',path_images+'photo.png',path_images+'quote.png',path_images+'text.png',path_images+'video.png']
doc_files =['AUTHORS','INSTALL','LICENSE','README','THANKS']
icon_files = ['opentumblr/images/opentumblr.png','opentumblr/images/opentumblr.xpm']
 
if not os.path.isdir(ipath_docs):
    os.mkdir(ipath_docs)
 
if not os.path.isdir(ipath_images):
    os.mkdir(ipath_images)
    os.mkdir(ipath_dashboard)
 
setup(name="opentumblr",
      version="0.0.1",
      description="Cliente de escritorio para tumblr",
      author="Jair Gaxiola",
      author_email="jyr.gaxiola@gmail.com",
      url="http://github.com/jyr/opentumblr",
      license="MIT LICENSE",
      scripts=['opentumblr/login.py'],
      packages=['opentumblr'],
      py_modules=['tumblr'],
      data_files=[('/usr/share/pixmaps/', icon_files),(ipath_dashboard, image_files),(ipath_docs, doc_files),(ipath_desktop,['opentumblr.desktop'])]
)