from distutils core import setup import py2exe import os path import g

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
from distutils.core import setup
import py2exe
import os.path
import glob
setup(name="sisan",
version="1.2.1",
url="https://xa4a.org.ua/hg/sisan",
license="GNU General Public License (GPL)",
packages=['sisan', 'sisan.Gnuplot', 'sisan.ui','sisan.jinja2'],
py_modules=['sisan.csv'],
package_dir={'sisan': 'sisan','sisan.Gnuplot':'sisan/Gnuplot'},
package_data={'sisan': ['gnuplot-bin/*']},
data_files=[('templates', ['sisan/templates/index.html']),
('gnuplot-bin', glob.glob('sisan/gnuplot-bin/*'))],
scripts=["sisan/lab2.py"],
windows=[{"script": "sisan/lab2.py"}],
options={"py2exe": {"skip_archive": True, "includes": ["sip",'PyQt4.QtCore']}})