Changeset 2731 for trunk

Show
Ignore:
Timestamp:
08/27/2008 02:44:19 PM (4 months ago)
Author:
guyer
Message:
  • Fix for reading of README.txt when FiPy is actually installed
  • Better support for setuptools and reading files from inside an .egg
Location:
trunk
Files:
5 added
1 removed
1 modified

Legend:

Unmodified
Added
Removed
  • trunk/setup.py

    r2557 r2731  
    77 #  FILE: "setup.py" 
    88 #                                    created: 4/6/04 {1:24:29 PM}  
    9  #                                last update: 5/5/08 {2:09:50 PM}  
     9 #                                last update: 8/27/08 {2:58:35 PM}  
    1010 #  Author: Jonathan Guyer <guyer@nist.gov> 
    1111 #  Author: Daniel Wheeler <daniel.wheeler@nist.gov> 
     
    708708    license = '' 
    709709     
    710 try: 
    711     execfile(os.path.join('fipy', '__version__.py')) 
    712 except IOError, e: 
    713     __version__ = '' 
    714  
    715710# The following doesn't work reliably, because it requires fipy 
    716711# to already be installed (or at least egged), which is kind of  
     
    725720 
    726721dist = setup(   name = "FiPy", 
    727         version = __version__, 
     722        version = "2.0a1",  
    728723        author = "Jonathan Guyer, Daniel Wheeler, & Jim Warren", 
    729724        author_email = "fipy@nist.gov", 
     
    741736        test_suite="fipy.test._suite", 
    742737        packages = find_packages(exclude=["examples", "examples.*", "utils", "utils.*"]), 
     738        package_data={ 
     739            '': ['../DISCLAIMER.txt', 
     740                 '../LICENSE.txt', 
     741                 '../README.txt'], 
     742        }, 
    743743        classifiers = [ 
    744744            'Development Status :: 5 - Production/Stable',