-
Notifications
You must be signed in to change notification settings - Fork 19
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
7 changed files
with
67 additions
and
73 deletions.
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
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 |
---|---|---|
|
@@ -8,3 +8,6 @@ docs/_build/ | |
|
||
# python builds | ||
*__pycache__/ | ||
dist/ | ||
.eggs/ | ||
*egg-info |
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
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
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 |
---|---|---|
@@ -0,0 +1,9 @@ | ||
[build-system] | ||
build-backend = "setuptools.build_meta" | ||
requires = [ | ||
"setuptools>=42", | ||
"setuptools-scm>=7", | ||
] | ||
|
||
[tool.setuptools_scm] | ||
fallback_version = "999" |
This file was deleted.
Oops, something went wrong.
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,57 +1,4 @@ | ||
#!/usr/bin/env python | ||
from setuptools import setup | ||
|
||
with open('README.md') as f: | ||
long_description = f.read() | ||
|
||
with open('requirements.txt') as f: | ||
requirements = f.read().strip().split('\n') | ||
|
||
|
||
# ''' moved into function, can now be used other places | ||
def version(): | ||
for line in open('meta.yaml').readlines(): | ||
index = line.find('set version') | ||
if index > -1: | ||
return line[index + 15:].replace('\" %}', '').strip() | ||
|
||
|
||
setup( | ||
name='geocat.viz', | ||
version=version(), | ||
long_description=long_description, | ||
long_description_content_type='text/markdown', | ||
maintainer='GeoCAT', | ||
maintainer_email='geocat@ucar.edu', | ||
python_requires='>=3.7', | ||
install_requires=requirements, | ||
url='https://github.com/NCAR/geocat-viz', | ||
classifiers=[ | ||
'Intended Audience :: Science/Research', | ||
'Programming Language :: Python', | ||
'Programming Language :: Python :: 3', | ||
'Programming Language :: Python :: 3.7', | ||
'Programming Language :: Python :: 3.8', | ||
'Programming Language :: Python :: 3.9', | ||
'Programming Language :: Python :: 3.10', | ||
'Topic :: Scientific/Engineering', | ||
], | ||
namespace_packages=['geocat'], | ||
packages=[ | ||
'geocat', | ||
'geocat.viz', # 'geocat.viz.plot_classes', 'geocat.viz.util', | ||
], | ||
package_dir={ | ||
'': 'src', | ||
'geocat': 'src/geocat', | ||
'geocat.viz': 'src/geocat/viz', | ||
# 'geocat.viz.plot_classes': 'src/geocat/viz/plot_classes', | ||
# 'geocat.viz.util': 'src/geocat/viz/util', | ||
}, | ||
include_package_data=True, | ||
project_urls={ | ||
'Documentation': 'https://geocat-viz.readthedocs.io', | ||
'Source': 'https://github.com/NCAR/geocat-viz', | ||
'Tracker': 'https://github.com/NCAR/geocat-viz/issues', | ||
}, | ||
zip_safe=False, | ||
) | ||
setup(use_scm_version={"fallback_version": "999"}) |