Microwave filters GUI  2.0.3
setup_lossyfilters_scipy-10.py
1 #!/usr/bin/env python
2 # -*- coding: utf-8 -*-
3 
4 import platform
5 from cx_Freeze import setup, Executable
6 
7 plat = platform.system()
8 
9 if plat in [ 'Windows', 'Microsoft', 'Vista' ]: plat += '.' + platform.version()
10 else: plat += '.' + platform.machine()
11 
12 executables = [
13  Executable('mwfiltersgui.py', icon = 'icons/icon_Spar-5.ico',), # targetDir = 'build/lossyfilters.' + plat
14 ]
15 
16 buildOptions = dict(
17 # compressed = True,
18 # includes = ['sip', 'distutils.unixccompiler', 'PyQt4.QtSvg', 'scipy.linalg.cblas', 'scipy.linalg.fblas', 'scipy.linalg.flapack', 'scipy.linalg.clapack', 'encodings.utf_8', 'encodings.cp737', 'encodings.cp775', 'encodings.cp437', 'encodings.cp850', 'encodings.cp852', 'encodings.cp855', 'encodings.cp857', 'encodings.cp860', 'encodings.cp861', 'encodings.cp862', 'encodings.cp863', 'encodings.cp865', 'encodings.cp866', 'encodings.cp869'],
19  includes = ['distutils.unixccompiler', 'PyQt4.Qt', 'scipy.linalg.cblas', 'scipy.linalg.fblas', 'scipy.linalg.flapack', 'scipy.linalg.clapack', 'scipy.linalg.calc_lwork', 'scipy.sparse.linalg.dsolve.umfpack', 'scipy.integrate.vode', 'encodings.utf_8', 'encodings.cp737', 'encodings.cp775', 'encodings.cp437', 'encodings.cp850', 'encodings.cp852', 'encodings.cp855', 'encodings.cp857', 'encodings.cp860', 'encodings.cp861', 'encodings.cp862', 'encodings.cp863', 'encodings.cp865', 'encodings.cp866', 'encodings.cp869'],
20 # path = sys.path + ["modules"]
21 )
22 
23 setup(
24  name = "LossyFilters",
25  version = "1.1",
26  author = "J.M. Rius, J. Mateu, D. Mateu, J.M. Tamayo, C. Collado, J. O'Callaghan, Christoph Ernst",
27  description = "Lossy filters synthesis",
28  options = dict(build_exe = buildOptions),
29  executables = executables)
30 
31 # name name of the package short string (1)
32 # version version of this release short string (1)(2)
33 # author package author's name short string (3)
34 # author_email email address of the package author email address (3)
35 # maintainer package maintainer's name short string (3)
36 # maintainer_email email address of the package maintainer email address (3)
37 # url home page for the package URL (1)
38 # description short, summary description of the package short string
39 # long_description longer description of the package long string
40 # download_url location where the package may be downloaded URL (4)
41 # classifiers a list of classifiers list of strings (4)
42 
43 # Notes:
44 
45 # (1) These fields are required.
46 # (2) It is recommended that versions take the form major.minor[.patch[.sub]].
47 # (3) Either the author or the maintainer must be identified.
48 # (4) These fields should not be used if your package is to be compatible with Python versions prior to 2.2.3 or 2.3. The list is available from the PyPI website.
49 # 'short string'
50 # A single line of text, not more than 200 characters.
51 # 'long string'
52 # Multiple lines of plain text in reStructuredText format (see http://docutils.sf.net/).
53 # 'list of strings'
54 # See below.
55 # None of the string values may be Unicode.
56 
57 # Encoding the version information is an art in itself. Python packages generally adhere to the version format major.minor[.patch][sub]. The major number is 0 for initial, experimental releases of software. It is incremented for releases that represent major milestones in a package. The minor number is incremented when important new features are added to the package. The patch number increments when bug-fix releases are made. Additional trailing version information is sometimes used to indicate sub-releases. These are "a1,a2,...,aN" (for alpha releases, where functionality and API may change), "b1,b2,...,bN" (for beta releases, which only fix bugs) and "pr1,pr2,...,prN" (for final pre-release release testing). Some examples:
58 
59