diff --git a/dstat-interface/BUILD.txt b/dstat-interface/BUILD.txt new file mode 100644 index 0000000000000000000000000000000000000000..5e7611f6034e31eeaf28829c498579b6f7755c83 --- /dev/null +++ b/dstat-interface/BUILD.txt @@ -0,0 +1,13 @@ +Requirements: + python >= 2.7.8 + cython >= 0.20.1 + matplotlib >= 1.3.1 + numpy >= 1.8.2 + pyserial >= 2.7 + pyzmq >= 14.3.1 + gtk+ >= 2.24.24 + pygobject >= 2.28.6 + pygtk >= 2.24.0 + + For packaging: + pyinstaller \ No newline at end of file diff --git a/dstat-interface/LICENSE b/dstat-interface/LICENSE.txt similarity index 100% rename from dstat-interface/LICENSE rename to dstat-interface/LICENSE.txt diff --git a/dstat-interface/README b/dstat-interface/README.txt similarity index 100% rename from dstat-interface/README rename to dstat-interface/README.txt diff --git a/dstat-interface/dstat-interface/dstat.spec b/dstat-interface/dstat-interface/dstat.spec index c0f001d40d21cd853351472898e4aee887784fbb..4faa1c84895587850a35ab61bad8733bb8e40ab1 100644 --- a/dstat-interface/dstat-interface/dstat.spec +++ b/dstat-interface/dstat-interface/dstat.spec @@ -1,7 +1,7 @@ # -*- mode: python -*- a = Analysis(['./main.py'], pathex=['/Users/mdryden/src/dstat-interface2/dstatInterface'], - hiddenimports=[], + hiddenimports=['zmq.utils.strtypes', 'zmq.utils.jsonapi','zmq.core.pysocket','cython'], hookspath=None, runtime_hooks=None) pyz = PYZ(a.pure) diff --git a/dstat-interface/dstat-interface/setup.py b/dstat-interface/dstat-interface/setup.py index bbecb41acec29bb97c71ccd93dafc4d7b46db15e..3012fb2e16f01d66df08a81d419c0c641dae2528 100644 --- a/dstat-interface/dstat-interface/setup.py +++ b/dstat-interface/dstat-interface/setup.py @@ -1,25 +1,19 @@ -#!/usr/bin/env python -# DStat Interface - An interface for the open hardware DStat potentiostat -# Copyright (C) 2014 Michael D. M. Dryden - -# Wheeler Microfluidics Laboratory <http://microfluidics.utoronto.ca> -# -# -# 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/>. +""" +This is a setup.py script generated by py2applet -from distutils.core import setup -from Cython.Build import cythonize +Usage: + python setup.py py2app +""" + +from setuptools import setup + +APP = ['main.py'] +DATA_FILES = ['interface'] +OPTIONS = {'argv_emulation': True} setup( - ext_modules = cythonize("*.pyx") - ) \ No newline at end of file + app=APP, + data_files=DATA_FILES, + options={'py2app': OPTIONS}, + setup_requires=['py2app'], +)