Skip to content

Commit

Permalink
Officially forking since the original project is apparently dead.
Browse files Browse the repository at this point in the history
  • Loading branch information
Cimbali committed Nov 23, 2015
1 parent c994249 commit a33e11f
Show file tree
Hide file tree
Showing 5 changed files with 26 additions and 14 deletions.
4 changes: 3 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,8 @@ It is designed to be a dual-screen reader used for presentations and public talk

Pympress is a free software, distributed under the terms of the GPL license (version 2 or, at your option, any later version).

This is now a fork of [Schnouki's original Pympress](https://github.com/Schnouki/pympress), at least for now.

# How-to install

All dependencies are really basic, and installation is standard for a python package.
Expand Down Expand Up @@ -49,5 +51,5 @@ A few of the fancier functionalities are listed here:
# Hacking

Feel free to clone this repo and use it, modify it, redistribute it, etc, under the GPLv2+.
Pympress has sphinx inline (rst-syntax) documentation, and the gh-pages branch hosts [an online documentation generated from it](https://rawgit.com/Cimbali/pympress/gh-pages/pympress.html).
Pympress has inline sphinx (rst syntax) documentation, and the gh-pages branch hosts [an online documentation generated from it](https://cimbali.github.io/pympress/pympress.html).

25 changes: 17 additions & 8 deletions cxfreeze_setup.py
Original file line number Diff line number Diff line change
@@ -1,8 +1,9 @@
#!/usr/bin/env python
#
# setup.py
# cxfreeze_setup.py
#
# Copyright 2009 Thomas Jost <thomas.jost@gmail.com>
# Copyright 2015 Cimbali <me@cimba.li>
#
# 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
Expand Down Expand Up @@ -34,7 +35,7 @@
print("Can not find where the GTK libraries and Python bindings are installed!")
exit(1)

version="0.3"
version="0.4"

libs_etc = [
'etc',
Expand All @@ -48,9 +49,17 @@
os.path.join('share', 'xml')
]

#include all Gtk DLLs, because litteraly the only we can skip would save us 104kB, they are:
#libgailutil-3.0.dll, libharfbuzz-gobject-0.dll, libharfbuzz-icu-0.dll, libgthread-2.0.dll
libs_etc += [f for f in os.listdir(include_path) if os.path.splitext(f)[1].lower() == ".dll"]
libs_etc += ['libatk-1.0-0.dll', 'libcairo-gobject-2.dll', 'libepoxy-0.dll',
'libffi-6.dll', 'libfontconfig-1.dll', 'libfreetype-6.dll', 'libgailutil-3-0.dll',
'libgdk-3-0.dll', 'libgdk_pixbuf-2.0-0.dll', 'libgio-2.0-0.dll',
'libgirepository-1.0-1.dll', 'libglib-2.0-0.dll', 'libgmodule-2.0-0.dll',
'libgobject-2.0-0.dll', 'libgthread-2.0-0.dll', 'libgtk-3-0.dll', 'libharfbuzz-0.dll',
'libharfbuzz-gobject-0.dll', 'libharfbuzz-icu-0.dll', 'libintl-8.dll', 'libjasper-1.dll',
'libjpeg-8.dll', 'liblcms2-2.dll', 'libopenjp2.dll', 'libpango-1.0-0.dll',
'libpangocairo-1.0-0.dll', 'libpangoft2-1.0-0.dll', 'libpangowin32-1.0-0.dll',
'libpng16-16.dll', 'libpoppler-glib-8.dll', 'librsvg-2-2.dll', 'libstdc++-6.dll',
'libtiff-5.dll', 'libwebp-5.dll', 'libwinpthread-1.dll', 'libxmlxpat.dll', 'libzzz.dll',
'python34.dll']

include_files = [(os.path.join(include_path, item), item) for item in libs_etc]

Expand All @@ -69,10 +78,10 @@
setup(name="pympress",
version=version,
description="A simple dual-screen PDF reader designed for presentations",
author="Thomas Jost",
author_email="thomas.jost@gmail.com",
author="Thomas Jost, Cimbali",
author_email="me@cimba.li",
url="http://www.pympress.org/",
download_url="http://github.com/Schnouki/pympress/downloads",
download_url="https://github.com/Cimbali/pympress/releases/latest",
classifiers=[
'Development Status :: 4 - Beta',
'Environment :: X11 Applications :: GTK',
Expand Down
2 changes: 1 addition & 1 deletion doc/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@
# built documents.
#
# The short X.Y version.
version = '0.3'
version = '0.4'
# The full version, including alpha/beta/rc tags.
release = str(subprocess.check_output(["git", "describe"])[1:].strip())

Expand Down
2 changes: 1 addition & 1 deletion pympress/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,6 @@
# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston,
# MA 02110-1301, USA.

__version__ = "0.3"
__version__ = "0.4"

__all__ = ["document", "surfacecache", "ui", "util", "slideselector"]
7 changes: 4 additions & 3 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
# setup.py
#
# Copyright 2009 Thomas Jost <thomas.jost@gmail.com>
# Copyright 2015 Cimbali <me@cimba.li>
#
# 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
Expand All @@ -27,10 +28,10 @@
setup(name="pympress",
version=version,
description="A simple dual-screen PDF reader designed for presentations",
author="Thomas Jost",
author_email="thomas.jost@gmail.com",
author="Thomas Jost, Cimbali",
author_email="me@cimba.li",
url="http://www.pympress.org/",
download_url="http://github.com/Schnouki/pympress/downloads",
download_url="https://github.com/Cimbali/pympress/releases/latest",
classifiers=[
'Development Status :: 4 - Beta',
'Environment :: X11 Applications :: GTK',
Expand Down

0 comments on commit a33e11f

Please sign in to comment.