mirror of
https://github.com/shlomif/PySolFC.git
synced 2025-04-05 00:02:29 -04:00
- removed empty contrib dir
git-svn-id: file:///home/shlomif/Backup/svn-dumps/PySolFC/svnsync-repos/pysolfc/PySolFC/trunk@117 efabe8c0-fbe8-4139-b769-b5e6d273206e
This commit is contained in:
parent
1a7541a14c
commit
255dec8752
1 changed files with 14 additions and 1 deletions
15
setup_osx.py
15
setup_osx.py
|
@ -4,10 +4,23 @@ Usage:
|
|||
"""
|
||||
|
||||
import os, sys
|
||||
import shutil
|
||||
from subprocess import call
|
||||
from setuptools import setup
|
||||
from pysollib.settings import PACKAGE, VERSION, FC_VERSION
|
||||
|
||||
# build the ls py rule pages
|
||||
if not os.path.exists('data/html'):
|
||||
os.chdir('html-src')
|
||||
call('./gen-html.py', shell=True)
|
||||
os.chdir(os.pardir)
|
||||
shutil.copytree('html-src/images', 'html-src/html/images')
|
||||
try:
|
||||
shutil.rmtree('data/html')
|
||||
except OSError:
|
||||
pass
|
||||
shutil.move('html-src/html', 'data/html')
|
||||
|
||||
# Use Tile widgets, if they are installed.
|
||||
# http://tktable.sourceforge.net/tile/
|
||||
import Tkinter
|
||||
|
@ -45,7 +58,7 @@ PLIST = dict(
|
|||
CFBundleShortVersionString = '%s' % VERSION,
|
||||
NSHumanReadableCopyright = "Copyright (C) 1998-2003 Markus F.X.J. Oberhumer",
|
||||
)
|
||||
APP = ['pysol.py']
|
||||
APP = ['pysollib/pysol.py']
|
||||
ICON_FILE = 'data/PySol.icns'
|
||||
DATA_FILES = ['docs', 'data', 'scripts','COPYING', 'README', SOLVER]
|
||||
RESOURCES = [os.path.join(TCL_EXTENSION_PATH, TILE)] if TILE else []
|
||||
|
|
Loading…
Add table
Reference in a new issue