~kenneth-arnold/luminoso/divisi2-port

« back to all changes in this revision

Viewing changes to setup.py

  • Committer: Rob Speer
  • Date: 2010-02-22 22:36:53 UTC
  • Revision ID: rspeer@wireless-25-97.media.mit.edu-20100222223653-byq5bhk9lfgvev92
try to put setup.py back

Show diffs side-by-side

added added

removed removed

Lines of Context:
8
8
import modulefinder
9
9
for p in sys.path:
10
10
   modulefinder.AddPackagePath(__name__, p)
 
11
sys.path.append('luminoso/lib')
11
12
 
12
13
classifiers=[
13
14
    'Intended Audience :: Developers',
25
26
    'Topic :: Software Development',
26
27
    'Topic :: Text Processing :: Linguistic',]
27
28
 
 
29
INCLUDES = ["sip", "PyQt4.QtCore", "PyQt4.Qt", "PyQt4.QtGui", "PyQt4._qt",
 
30
            'csc.nl.en', 'csc.nl.euro', 'csc.nl', 'csc.nl.mblem',
 
31
            'csc.nl.mblem.trie',
 
32
            'csc.divisi.tensor', 'spyderlib', 'jinja2', 'numpy',
 
33
            'simplejson', 'chardet']
 
34
DATA_FILES = ['icons']
 
35
 
28
36
setup(
29
37
    name="Luminoso",
30
38
    version = VERSION,
37
45
    classifiers = classifiers,
38
46
    ext_modules = [],
39
47
    packages=find_packages()+['icons', 'study_skel'],
 
48
    app=['luminoso/run_luminoso.py'],
40
49
    scripts=['luminoso/run_luminoso.py'],
41
50
    windows=[{'script': 'luminoso/run_luminoso.py'}],
42
 
    install_requires=['csc-utils >= 0.4.2', 'divisi >= 0.6.8', 'conceptnet >= 4.0rc2', 'chardet', 'jinja2'],
 
51
    install_requires=['csc-utils >= 0.4.2', 'divisi >= 0.6.8', 'conceptnet >= 4.0rc2', 'ipython == 0.9.1', 'jinja2', 'chardet'],
43
52
    package_data={'csc.nl': ['mblem/*.pickle', 'en/*.txt']},
44
53
    include_package_data=True,
 
54
    #data_files=DATA_FILES,
45
55
    options={'py2exe': {
46
 
        'skip_archive': True,
47
 
        'includes': ['csc.divisi.tensor', 'csc.nl.euro', 'sip', 'spyderlib', 'simplejson', 'numpy', 'PyQt4._qt'],
48
 
    }},
 
56
            'skip_archive': True,
 
57
            'includes': INCLUDES,
 
58
        },
 
59
        'py2app': {
 
60
            "argv_emulation": True,
 
61
            'includes': INCLUDES,
 
62
        },
 
63
    },
 
64
 
49
65
    entry_points={'console_scripts': ['luminoso = luminoso.run_luminoso:main']},
50
66
)