-
Notifications
You must be signed in to change notification settings - Fork 20
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fixed invalid email separator in the setup.py
- Loading branch information
Showing
1 changed file
with
1 addition
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
import sysimport osfrom codecs import open# Always prefer setuptools over distutilsfrom setuptools import setup, find_packages# ---------------------------------------------------------------------------# Some helper stuff# ---------------------------------------------------------------------------here = os.path.abspath(os.path.dirname(__file__))def is_windows(): """ Check if the current OS is Windows """ return (sys.platform == 'win32') or (os.name is "nt")def txt_read(*paths): """ Build a file path from *paths* and return the textual contents """ with open(os.path.join(here, *paths), encoding='utf-8') as f: return f.read()# ---------------------------------------------------------------------------# Populate dictionary with settings# ---------------------------------------------------------------------------# create a dict with the basic information that is passed to setup after keys are added.setup_args = dict()setup_args['name'] = 'hyo.soundspeed'setup_args['version'] = '2018.1.1'setup_args['url'] = 'https://bitbucket.org/ccomjhc/hyo_soundspeed/'setup_args['license'] = 'LGPLv2.1 or CCOM-UNH Industrial Associate license'setup_args['author'] = 'Giuseppe Masetti(UNH,CCOM); Barry Gallagher(NOAA,OCS); ' \ 'Chen Zhang(NOAA,OCS); Matthew Sharr (NOAA,OCS)'setup_args['author_email'] = '[email protected]; [email protected]; ' \ '[email protected]; [email protected]'## descriptive stuff#description = 'A library and an application to manage sound speed profiles.'setup_args['description'] = descriptionsetup_args['long_description'] = (txt_read('README.rst') + '\n\n\"\"\"\"\"\"\"\n\n' + txt_read('HISTORY.rst') + '\n\n\"\"\"\"\"\"\"\n\n' + txt_read('AUTHORS.rst') + '\n\n\"\"\"\"\"\"\"\n\n' + txt_read(os.path.join('docs', 'developer_guide_how_to_contribute.rst')))setup_args['classifiers'] = \ [ # https://pypi.python.org/pypi?%3Aaction=list_classifiers 'Development Status :: 5 - Production/Stable', 'Intended Audience :: Science/Research', 'Natural Language :: English', 'License :: OSI Approved :: GNU Lesser General Public License v3 (LGPLv3)', 'Operating System :: OS Independent', 'Programming Language :: Python', 'Programming Language :: Python :: 3', 'Programming Language :: Python :: 3.5', 'Programming Language :: Python :: 3.6', 'Topic :: Scientific/Engineering :: GIS', 'Topic :: Office/Business :: Office Suites', ]setup_args['keywords'] = "hydrography ocean mapping survey sound speed profiles"## code stuff## requirementssetup_args['setup_requires'] =\ [ "setuptools", "wheel", ]setup_args['install_requires'] =\ [ "numpy", "matplotlib", "pillow", "netCDF4", "gdal", "pyproj", # "gsw", # install it from github without scipy dependency, version == 3.0.6 "pyserial", # "pyside", # required, but commented since conda package is not recognized by pip "basemap" # you may also need: conda install -c conda-forge basemap-data-hires ]# hydroffice namespace, packages and other filessetup_args['namespace_packages'] = ['hyo']setup_args['packages'] = find_packages(exclude=["*.tests", "*.tests.*", "tests.*", "tests", "*.test*", ])setup_args['package_data'] =\ { '': [ 'sis/gui/media/*.png', 'soundspeed/listener/seacat/CONFIG/*.*', 'soundspeedmanager/media/*.png', 'soundspeedmanager/widgets/media/*.png', 'soundspeedmanager/stylesheet/rc/*.png', 'soundspeedmanager/stylesheet/app.stylesheet', 'soundspeedmanager/styles/main.stylesheet', 'soundspeedmanager/widgets/styles/widget.stylesheet', 'soundspeedmanager/widgets/pdf/*.pdf', 'soundspeedsettings/styles/main.stylesheet', 'soundspeedsettings/widgets/styles/widget.stylesheet', 'soundspeedsettings/media/*.png', ], }setup_args['test_suite'] = "tests"setup_args['entry_points'] =\ { 'gui_scripts': [ 'sound_speed_manager = hyo.soundspeedmanager.gui:gui', 'sound_speed_settings = hyo.soundspeedsettings.gui:gui', ], }# ---------------------------------------------------------------------------# Do the actual setup now# ---------------------------------------------------------------------------setup(**setup_args) | ||
import sysimport osfrom codecs import open# Always prefer setuptools over distutilsfrom setuptools import setup, find_packages# ---------------------------------------------------------------------------# Some helper stuff# ---------------------------------------------------------------------------here = os.path.abspath(os.path.dirname(__file__))def is_windows(): """ Check if the current OS is Windows """ return (sys.platform == 'win32') or (os.name is "nt")def txt_read(*paths): """ Build a file path from *paths* and return the textual contents """ with open(os.path.join(here, *paths), encoding='utf-8') as f: return f.read()# ---------------------------------------------------------------------------# Populate dictionary with settings# ---------------------------------------------------------------------------# create a dict with the basic information that is passed to setup after keys are added.setup_args = dict()setup_args['name'] = 'hyo.soundspeed'setup_args['version'] = '2018.1.1'setup_args['url'] = 'https://bitbucket.org/ccomjhc/hyo_soundspeed/'setup_args['license'] = 'LGPLv2.1 or CCOM-UNH Industrial Associate license'setup_args['author'] = 'Giuseppe Masetti(UNH,CCOM); Barry Gallagher(NOAA,OCS); ' \ 'Chen Zhang(NOAA,OCS); Matthew Sharr (NOAA,OCS)'setup_args['author_email'] = '[email protected], [email protected], ' \ '[email protected], [email protected]'## descriptive stuff#description = 'A library and an application to manage sound speed profiles.'setup_args['description'] = descriptionsetup_args['long_description'] = (txt_read('README.rst') + '\n\n\"\"\"\"\"\"\"\n\n' + txt_read('HISTORY.rst') + '\n\n\"\"\"\"\"\"\"\n\n' + txt_read('AUTHORS.rst') + '\n\n\"\"\"\"\"\"\"\n\n' + txt_read(os.path.join('docs', 'developer_guide_how_to_contribute.rst')))setup_args['classifiers'] = \ [ # https://pypi.python.org/pypi?%3Aaction=list_classifiers 'Development Status :: 5 - Production/Stable', 'Intended Audience :: Science/Research', 'Natural Language :: English', 'License :: OSI Approved :: GNU Lesser General Public License v3 (LGPLv3)', 'Operating System :: OS Independent', 'Programming Language :: Python', 'Programming Language :: Python :: 3', 'Programming Language :: Python :: 3.5', 'Programming Language :: Python :: 3.6', 'Topic :: Scientific/Engineering :: GIS', 'Topic :: Office/Business :: Office Suites', ]setup_args['keywords'] = "hydrography ocean mapping survey sound speed profiles"## code stuff## requirementssetup_args['setup_requires'] =\ [ "setuptools", "wheel", ]setup_args['install_requires'] =\ [ "numpy", "matplotlib", "pillow", "netCDF4", "gdal", "pyproj", # "gsw", # install it from github without scipy dependency, version == 3.0.6 "pyserial", # "pyside", # required, but commented since conda package is not recognized by pip "basemap" # you may also need: conda install -c conda-forge basemap-data-hires ]# hydroffice namespace, packages and other filessetup_args['namespace_packages'] = ['hyo']setup_args['packages'] = find_packages(exclude=["*.tests", "*.tests.*", "tests.*", "tests", "*.test*", ])setup_args['package_data'] =\ { '': [ 'sis/gui/media/*.png', 'soundspeed/listener/seacat/CONFIG/*.*', 'soundspeedmanager/media/*.png', 'soundspeedmanager/widgets/media/*.png', 'soundspeedmanager/stylesheet/rc/*.png', 'soundspeedmanager/stylesheet/app.stylesheet', 'soundspeedmanager/styles/main.stylesheet', 'soundspeedmanager/widgets/styles/widget.stylesheet', 'soundspeedmanager/widgets/pdf/*.pdf', 'soundspeedsettings/styles/main.stylesheet', 'soundspeedsettings/widgets/styles/widget.stylesheet', 'soundspeedsettings/media/*.png', ], }setup_args['test_suite'] = "tests"setup_args['entry_points'] =\ { 'gui_scripts': [ 'sound_speed_manager = hyo.soundspeedmanager.gui:gui', 'sound_speed_settings = hyo.soundspeedsettings.gui:gui', ], }# ---------------------------------------------------------------------------# Do the actual setup now# ---------------------------------------------------------------------------setup(**setup_args) | ||
|