Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
py2exe build-script and resources for exe version.
- Loading branch information
Showing
3 changed files
with
75 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
REM This script is used to ensure -OO is added. Also, it is required on 64-bit Vista/7, as running it in XP compatibility mode is needed for a successful build there. | ||
python -OO setup_py2exe.py py2exe |
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,73 @@ | ||
#!/usr/bin/env python2 | ||
# -*- coding: utf-8 -*- | ||
# | ||
# Copyright (C) 2010-2011 Reality <tinmachin3@gmail.com> and Psychedelic Squid <psquid@psquid.net> | ||
# | ||
# This program is free software: you can redistribute it and/or modify | ||
# it under the terms of the GNU General Public License as published by | ||
# the Free Software Foundation, either version 3 of the License, or | ||
# (at your option) any later version. | ||
# | ||
# This program is distributed in the hope that it will be useful, | ||
# but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
# GNU General Public License for more details. | ||
# | ||
# You should have received a copy of the GNU General Public License | ||
# along with this program. If not, see <http://www.gnu.org/licenses/>. | ||
|
||
""" | ||
py2exe build script. | ||
""" | ||
|
||
__docformat__ = 'restructuredtext' | ||
|
||
from setuptools import setup, find_packages | ||
import py2exe | ||
|
||
setup( | ||
name="identicurse", | ||
version='0.7', # 0.7-dev, but py2exe doesn't like the -dev bit. | ||
description="A simple Identi.ca client with a curses-based UI.", | ||
long_description=("A simple Identi.ca client with a curses-based UI."), | ||
author="Psychedelic Squid and Reality", | ||
author_email='psquid@psquid.net and tinmachin3@gmail.com', | ||
url="http://identicurse.net/", | ||
|
||
download_url=("http://identicurse.net/release/"), | ||
license="GPLv3+", | ||
|
||
data_files=[('identicurse',['README', 'conf/config.json'])], | ||
packages=find_packages('src'), | ||
package_dir={'': 'src'}, | ||
include_package_data=True, | ||
|
||
entry_points={ | ||
'console_scripts': | ||
['identicurse = identicurse:main'], | ||
}, | ||
|
||
console=[{ | ||
"script": 'src/identicurse/__init__.py', | ||
"icon_resources": [(1, 'res/identicurse.ico')], | ||
"dest_base": 'identicurse', | ||
}], | ||
zipfile=None, | ||
options={ | ||
"py2exe": | ||
{ | ||
"compressed": 1, | ||
"optimize": 2, | ||
"ascii": 1, | ||
"bundle_files": 1, | ||
"packages": 'encodings, identicurse', | ||
"includes": 'identicurse.config, identicurse.textbox, identicurse.helpers, identicurse.statusbar, identicurse.statusnet, identicurse.tabbage, identicurse.tabbar', | ||
} | ||
}, | ||
|
||
classifiers=[ | ||
'License :: OSI Approved :: GNU General Public License (GPL)', | ||
'Development Status :: 5 - Production/Stable', | ||
'Programming Language :: Python', | ||
], | ||
) |