# Begin setup # setup_keywords = dict() # # THESE SETTINGS NEED TO BE CHANGED FOR EVERY PRODUCT. # setup_keywords['name'] = 'desispec' setup_keywords['description'] = 'DESI Spectroscopic Tools' setup_keywords['author'] = 'DESI Collaboration' setup_keywords['author_email'] = '*****@*****.**' setup_keywords['license'] = 'BSD' setup_keywords['url'] = 'https://github.com/desihub/desispec' # # END OF SETTINGS THAT NEED TO BE CHANGED. # setup_keywords['version'] = get_version(setup_keywords['name']) # # Use README.rst as long_description. # setup_keywords['long_description'] = '' if os.path.exists('README.rst'): with open('README.rst') as readme: setup_keywords['long_description'] = readme.read() # # Set other keywords for the setup function. These are automated, & should # be left alone unless you are an expert. # # Treat everything in bin/ except *.rst as a script to be installed. # if os.path.isdir('bin'): setup_keywords['scripts'] = [fname for fname in glob.glob(os.path.join('bin', '*'))
# Begin setup # setup_keywords = dict() # # THESE SETTINGS NEED TO BE CHANGED FOR EVERY PRODUCT. # setup_keywords['name'] = 'desisim' setup_keywords['description'] = 'DESI simulation package' setup_keywords['author'] = 'DESI Collaboration' setup_keywords['author_email'] = '*****@*****.**' setup_keywords['license'] = 'BSD' setup_keywords['url'] = 'https://github.com/desihub/desisim' # # END OF SETTINGS THAT NEED TO BE CHANGED. # setup_keywords['version'] = get_version(setup_keywords['name']) # # Use README.rst as long_description. # setup_keywords['long_description'] = '' if os.path.exists('README.rst'): with open('README.rst') as readme: setup_keywords['long_description'] = readme.read() # # Set other keywords for the setup function. These are automated, & should # be left alone unless you are an expert. # # Treat everything in bin/ except *.rst as a script to be installed. # if os.path.isdir('bin'): setup_keywords['scripts'] = [
# Begin setup # setup_keywords = dict() # # THESE SETTINGS NEED TO BE CHANGED FOR EVERY PRODUCT. # setup_keywords['name'] = 'fiberassign' setup_keywords['description'] = 'DESI Fiber Assignment Tools' setup_keywords['author'] = 'DESI Collaboration' setup_keywords['author_email'] = '*****@*****.**' setup_keywords['license'] = 'BSD' setup_keywords['url'] = 'https://github.com/desihub/fiberassign' # # END OF SETTINGS THAT NEED TO BE CHANGED. # pkg_version = get_version(setup_keywords['name']) setup_keywords['version'] = pkg_version cpp_version_file = os.path.join("src", "_version.h") with open(cpp_version_file, "w") as f: f.write('// Generated by setup.py -- DO NOT EDIT THIS\n') f.write('const static std::string package_version("{}");\n\n' .format(pkg_version)) # # Use README.rst as long_description. # setup_keywords['long_description'] = '' if os.path.exists('README.rst'): with open('README.rst') as readme: setup_keywords['long_description'] = readme.read() # # Set other keywords for the setup function. These are automated, & should