-
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
1 parent
1d17947
commit acbe0dc
Showing
3 changed files
with
28 additions
and
68 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
[build-system] | ||
requires = [ | ||
"setuptools>=50.0", | ||
"setuptools_scm[toml]>=6.0", | ||
"setuptools_scm_git_archive", | ||
"wheel>=0.33", | ||
"numpy>=1.16", | ||
"cython>=0.29", | ||
] | ||
|
||
[tool.setuptools_scm] | ||
write_to = "polire/_version.py" |
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,10 @@ | ||
[metadata] | ||
name = polire | ||
author = Zeel B Patel, Deepak Narayanan, Apoorv Agnihotri, Nipun Batra | ||
author_email = patel_zeel@iitgn.ac.in | ||
description = Spatial Interpolation in Python | ||
url = https://github.com/sustainability-lab/polire | ||
license = BSD 3-Clause License | ||
license_file = LICENCE | ||
long_description = file: README.md | ||
long_description_content_type = text/markdown |
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,73 +1,11 @@ | ||
#! /usr/bin/env python | ||
"""A template for scikit-learn compatible packages.""" | ||
|
||
import codecs | ||
|
||
from setuptools import find_packages, setup | ||
|
||
DISTNAME = "polire" | ||
DESCRIPTION = "A collection of interpolation methods." | ||
with codecs.open("README.md", encoding="utf-8-sig") as f: | ||
LONG_DESCRIPTION = f.read() | ||
MAINTAINER = "Zeel B Patel, Apoorv Agnihotri, S Deepak Narayanan" | ||
MAINTAINER_EMAIL = "patel_zeel@iitgn.ac.in, apoorv.agnihotri@iitgn.ac.in, deepak.narayanan@iitgn.ac.in" | ||
URL = "https://sustainability-lab.github.io/polire" | ||
LICENSE = "new BSD" | ||
DOWNLOAD_URL = "https://sustainability-lab.github.io/polire" | ||
CLASSIFIERS = [ | ||
"Intended Audience :: Science/Research", | ||
"Intended Audience :: Developers", | ||
"License :: OSI Approved", | ||
"Programming Language :: Python", | ||
"Topic :: Software Development", | ||
"Topic :: Scientific/Engineering", | ||
"Operating System :: Microsoft :: Windows", | ||
"Operating System :: POSIX", | ||
"Operating System :: Unix", | ||
"Operating System :: MacOS", | ||
"Programming Language :: Python :: 2.7", | ||
"Programming Language :: Python :: 3.5", | ||
"Programming Language :: Python :: 3.6", | ||
"Programming Language :: Python :: 3.7", | ||
] | ||
EXTRAS_REQUIRE = { | ||
"tests": ["pytest", "pytest-cov"], | ||
"docs": [ | ||
"sphinx", | ||
"sphinx-gallery", | ||
"sphinx_rtd_theme", | ||
"numpydoc", | ||
"matplotlib", | ||
], | ||
} | ||
|
||
INSTALL_REQUIRES = [ | ||
"matplotlib", | ||
"numpy", | ||
"pandas", | ||
"pykrige", | ||
"scikit_learn", | ||
"scipy", | ||
"seaborn", | ||
"Shapely", | ||
"xgboost", | ||
"GPy", | ||
] | ||
with open("requirements.txt") as f: | ||
requirements = f.read().splitlines() | ||
|
||
setup( | ||
name=DISTNAME, | ||
maintainer=MAINTAINER, | ||
maintainer_email=MAINTAINER_EMAIL, | ||
description=DESCRIPTION, | ||
license=LICENSE, | ||
url=URL, | ||
version="0.1.3", | ||
download_url=DOWNLOAD_URL, | ||
long_description=LONG_DESCRIPTION, | ||
long_description_content_type="text/markdown", | ||
zip_safe=False, # the package can run out of an .egg file | ||
classifiers=CLASSIFIERS, | ||
packages=find_packages(), | ||
install_requires=INSTALL_REQUIRES, | ||
extras_require=EXTRAS_REQUIRE, | ||
packages=find_packages(exclude=["docs"]), | ||
python_requires=">=3.8", | ||
install_requires=requirements, | ||
include_package_data=True, | ||
) |