generated from palewire/python-open-source-template
-
Notifications
You must be signed in to change notification settings - Fork 3
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
5 changed files
with
45 additions
and
56 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
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 |
---|---|---|
@@ -1,4 +1,5 @@ | ||
import os | ||
|
||
from setuptools import setup | ||
|
||
|
||
|
@@ -39,39 +40,34 @@ def local_version(version): | |
|
||
|
||
setup( | ||
name='noaa-wildfires', | ||
name="noaa-wildfires", | ||
description="Download wildfires data from NOAA satellites", | ||
long_description=read('README.md'), | ||
long_description_content_type='text/markdown', | ||
author='Ben Welsh', | ||
author_email='[email protected]', | ||
url='https://palewi.re/docs/noaa-wildfires', | ||
long_description=read("README.md"), | ||
long_description_content_type="text/markdown", | ||
author="Ben Welsh", | ||
author_email="[email protected]", | ||
url="https://palewi.re/docs/noaa-wildfires", | ||
license="MIT", | ||
packages=("noaa_wildfires",), | ||
install_requires=[ | ||
"fiona", | ||
"geojson", | ||
"click", | ||
"requests" | ||
], | ||
install_requires=["fiona", "geojson", "click", "requests"], | ||
entry_points=""" | ||
[console_scripts] | ||
noaawildfires=noaa_wildfires.cli:cmd | ||
""", | ||
use_scm_version={"version_scheme": version_scheme, "local_scheme": local_version}, | ||
classifiers=[ | ||
'Development Status :: 5 - Production/Stable', | ||
'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', | ||
'License :: OSI Approved :: MIT License', | ||
"Development Status :: 5 - Production/Stable", | ||
"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", | ||
"License :: OSI Approved :: MIT License", | ||
], | ||
project_urls={ | ||
'Maintainer': 'https://github.com/datadesk', | ||
'Source': 'https://github.com/datadesk/noaa-wildfires', | ||
'Tracker': 'https://github.com/datadesk/noaa-wildfires/issues' | ||
"Maintainer": "https://github.com/datadesk", | ||
"Source": "https://github.com/datadesk/noaa-wildfires", | ||
"Tracker": "https://github.com/datadesk/noaa-wildfires/issues", | ||
}, | ||
) |
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,17 +1,16 @@ | ||
#! /usr/bin/env python | ||
# -*- coding: utf-8 -*- | ||
import unittest | ||
|
||
import noaa_wildfires | ||
|
||
|
||
class MyUnitTest(unittest.TestCase): | ||
|
||
def test_fires(self): | ||
noaa_wildfires.get_hms_fires() | ||
|
||
def test_smoke(self): | ||
noaa_wildfires.get_hms_smoke() | ||
|
||
|
||
if __name__ == '__main__': | ||
if __name__ == "__main__": | ||
unittest.main() |