-
Notifications
You must be signed in to change notification settings - Fork 133
adapting mgwr to newest libpysal #27
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
Changes from all commits
Commits
Show all changes
9 commits
Select commit
Hold shift + click to select a range
06ca072
adapting mgwr to newest libpysal
jGaboardi d079d2b
changing url to point to .../pysal/mgwr
jGaboardi 976d180
removing python version below 3.5 in setup.py
jGaboardi c647009
removing build_py_2to3; not needed
jGaboardi f8473a4
matching setup.py license to LICENSE
jGaboardi 2a90083
adding version number to __init__.py
jGaboardi a377bea
read version number from __init__.py
jGaboardi f9a44a2
changing path typo
jGaboardi d263bb2
updating __version__ variable in setup.py
jGaboardi File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or 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,3 +1,5 @@ | ||
| __version__ = "1.0.2" | ||
|
|
||
| from . import gwr | ||
| from . import sel_bw | ||
| from . import diagnostics | ||
|
|
||
This file contains hidden or 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 hidden or 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 hidden or 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,19 +1,15 @@ | ||
| from setuptools import setup | ||
| from distutils.command.build_py import build_py | ||
|
|
||
| try: | ||
| from distutils.command.build_py import build_py_2to3 as build_py | ||
| except ImportError: | ||
| from distutils.command.build_py import build_py | ||
|
|
||
| Major = 1 | ||
| Feature = 0 | ||
| Bug = 2 | ||
| version = '%d.%d.%d' % (Major, Feature, Bug) | ||
| # Get __version__ from PACKAGE_NAME/__init__.py without importing the package | ||
| # __version__ has to be defined in the first line | ||
| with open('mgwr/__init__.py', 'r') as f: | ||
| exec(f.readline()) | ||
|
|
||
| setup(name='mgwr', #name of package | ||
| version=version, | ||
| version=__version__, | ||
| description='multiscale geographically weighted regression', #short <80chr description | ||
| url='https://github.com/TaylorOshan/mgwr', #github repo | ||
| url='https://github.com/pysal/mgwr', #github repo | ||
| maintainer='Taylor M. Oshan', | ||
| maintainer_email='[email protected]', | ||
| test_suite = 'nose.collector', | ||
|
|
@@ -28,12 +24,10 @@ | |
| 'Topic :: Scientific/Engineering :: GIS', | ||
| 'License :: OSI Approved :: BSD License', | ||
| 'Programming Language :: Python', | ||
| 'Programming Language :: Python :: 2.5', | ||
| 'Programming Language :: Python :: 2.6', | ||
| 'Programming Language :: Python :: 2.7', | ||
| 'Programming Language :: Python :: 3.4' | ||
| 'Programming Language :: Python :: 3.5' | ||
| 'Programming Language :: Python :: 3.6' | ||
| ], | ||
| license='3-Clause BSD', | ||
| license='2-Clause BSD', | ||
| packages=['mgwr'], | ||
| install_requires=['numpy', 'scipy', 'libpysal', 'spglm', 'spreg'], | ||
| zip_safe=False, | ||
|
|
||
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This might be less of a concern, but is it better to follow the 3-Clause BSD license suggested in the submodule_template?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Good point, that I didn't consider. Should I go ahead and make the change or wait for Taylor's input since he is the maintainer?
Uh oh!
There was an error while loading. Please reload this page.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Let's wait for Taylor's input!