VERSION = '0.0.dev' # Indicates if this version is a release version RELEASE = 'dev' not in VERSION if not RELEASE: VERSION += get_git_devstr(False) # Populate the dict of setup command overrides; this should be done before # invoking any other functionality from distutils since it can potentially # modify distutils' behavior. cmdclassd = register_commands(PACKAGENAME, VERSION, RELEASE) # Adjust the compiler in case the default on this platform is to use a # broken one. adjust_compiler(PACKAGENAME) # Freeze build information in version.py generate_version_py(PACKAGENAME, VERSION, RELEASE, get_debug_option()) # Use the find_packages tool to locate all packages and modules packagenames = filter_packages(find_packages()) # Treat everything in scripts except README.rst as a script to be installed scripts = [fname for fname in glob.glob(os.path.join('scripts', '*')) if os.path.basename(fname) != 'README.rst'] # Additional C extensions that are not Cython-based should be added here. extensions = [] # A dictionary to keep track of all package data to install
DESCRIPTION = 'Astropy affiliated package for astronomical spectral operations.' LONG_DESCRIPTION = specutils.__doc__ AUTHOR = 'Specutils developers, Wolfgang Kerzendorf' AUTHOR_EMAIL = '*****@*****.**' LICENSE = 'BSD' URL = 'http://astropy.org' #version should be PEP386 compatible (http://www.python.org/dev/peps/pep-0386) version = '0.0.dev' # Indicates if this version is a release version release = 'dev' not in version # Adjust the compiler in case the default on this platform is to use a # broken one. setup_helpers.adjust_compiler() # Indicate that we are in building mode setup_helpers.set_build_mode() if not release: version += get_git_devstr(False) generate_version_py(PACKAGENAME, version, release, setup_helpers.get_debug_option()) # Use the find_packages tool to locate all packages and modules packagenames = find_packages() # Treat everything in scripts except README.rst as a script to be installed scripts = glob.glob('scripts/*') scripts.remove('scripts/README.rst')
# Indicates if this version is a release version RELEASE = 'dev' not in VERSION if not RELEASE: VERSION += get_git_devstr(False) DOWNLOAD_BASE_URL = 'http://pypi.python.org/packages/source/a/astropy' # Populate the dict of setup command overrides; this should be done before # invoking any other functionality from distutils since it can potentially # modify distutils' behavior. cmdclassd = register_commands(NAME, VERSION, RELEASE) # Adjust the compiler in case the default on this platform is to use a # broken one. adjust_compiler(NAME) # Freeze build information in version.py generate_version_py(NAME, VERSION, RELEASE, get_debug_option()) # Treat everything in scripts except README.rst as a script to be installed scripts = [fname for fname in glob.glob(os.path.join('scripts', '*')) if os.path.basename(fname) != 'README.rst'] # Get configuration information from all of the various subpackages. # See the docstring for setup_helpers.update_package_files for more # details. package_info = get_package_info(NAME) # Add the project-global data package_info['package_data']['astropy'] = ['data/*']
VERSION = '0.9.12.dev' # Indicates if this version is a release version RELEASE = 'dev' not in VERSION if not RELEASE: VERSION += get_git_devstr(False) # Populate the dict of setup command overrides; this should be done before # invoking any other functionality from distutils since it can potentially # modify distutils' behavior. cmdclassd = register_commands(PACKAGENAME, VERSION, RELEASE) # Adjust the compiler in case the default on this platform is to use a # broken one. adjust_compiler(PACKAGENAME) # Freeze build information in version.py generate_version_py(PACKAGENAME, VERSION, RELEASE, get_debug_option()) # Treat everything in scripts except README.rst as a script to be installed scripts = [ fname for fname in glob.glob(os.path.join('scripts', '*')) if os.path.basename(fname) != 'README.rst' ] try: from astropy.setup_helpers import get_package_info # Get configuration information from all of the various subpackages.
# Indicates if this version is a release version RELEASE = 'dev' not in VERSION if not RELEASE: VERSION += get_git_devstr(False) DOWNLOAD_BASE_URL = 'http://pypi.python.org/packages/source/a/astropy' # Populate the dict of setup command overrides; this should be done before # invoking any other functionality from distutils since it can potentially # modify distutils' behavior. cmdclassd = register_commands(NAME, VERSION, RELEASE) # Adjust the compiler in case the default on this platform is to use a # broken one. adjust_compiler(NAME) # Freeze build information in version.py generate_version_py(NAME, VERSION, RELEASE, get_debug_option()) # Use the find_packages tool to locate all packages and modules packagenames = filter_packages(find_packages()) # Treat everything in scripts except README.rst as a script to be installed scripts = [ fname for fname in glob.glob(os.path.join('scripts', '*')) if os.path.basename(fname) != 'README.rst' ] # Additional C extensions that are not Cython-based should be added here. extensions = []
DESCRIPTION = 'Common functions for photometric surveys' LONG_DESCRIPTION = '' AUTHOR = 'Geert Barentsen, Hywel Farnhill' AUTHOR_EMAIL = '' LICENSE = 'Copyright, the authors.' URL = 'TBD' #version should be PEP386 compatible (http://www.python.org/dev/peps/pep-0386) version = '0.0.dev' # Indicates if this version is a release version release = 'dev' not in version # Adjust the compiler in case the default on this platform is to use a # broken one. setup_helpers.adjust_compiler() # Indicate that we are in building mode setup_helpers.set_build_mode() if not release: version += get_git_devstr(False) generate_version_py(PACKAGENAME, version, release, setup_helpers.get_debug_option()) # Use the find_packages tool to locate all packages and modules packagenames = find_packages() # Treat everything in scripts except README.rst as a script to be installed scripts = glob.glob('scripts/*') scripts.remove('scripts/README.rst')