-
Notifications
You must be signed in to change notification settings - Fork 44
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #136 from jGaboardi/testing_matrix
Extend continuous integration testing matrix
- Loading branch information
Showing
6 changed files
with
93 additions
and
24 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,15 @@ | ||
name: tests | ||
channels: | ||
- conda-forge | ||
dependencies: | ||
- python=3.7 | ||
- geopandas | ||
- fuzzywuzzy | ||
- libpysal | ||
- numpy | ||
- pandas | ||
- pytest | ||
- requests | ||
- rtree | ||
- scipy | ||
- six |
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,15 @@ | ||
name: tests | ||
channels: | ||
- conda-forge | ||
dependencies: | ||
- python=3.8 | ||
- geopandas | ||
- fuzzywuzzy | ||
- libpysal | ||
- numpy | ||
- pandas | ||
- pytest | ||
- requests | ||
- rtree | ||
- scipy | ||
- six |
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,15 @@ | ||
name: tests | ||
channels: | ||
- conda-forge | ||
dependencies: | ||
- python=3.9 | ||
- geopandas | ||
- fuzzywuzzy | ||
- libpysal | ||
- numpy | ||
- pandas | ||
- pytest | ||
- requests | ||
- rtree | ||
- scipy | ||
- six |
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,32 +1,50 @@ | ||
from setuptools import setup | ||
import os | ||
|
||
package = "cenpy" | ||
|
||
basepath = os.path.dirname(__file__) | ||
init = os.path.join(basepath, 'cenpy/__init__.py') | ||
init = os.path.join(basepath, f"{package}/__init__.py") | ||
|
||
with open(init, 'r') as initfile: | ||
with open(init, "r") as initfile: | ||
firstline = initfile.readline() | ||
init_version = firstline.split('=')[-1].strip() | ||
init_version = init_version.replace("'","") | ||
init_version = firstline.split("=")[-1].strip() | ||
init_version = init_version.replace("'", "") | ||
|
||
with open(os.path.join(basepath, 'README.rst'), 'r') as readme: | ||
with open(os.path.join(basepath, "README.rst"), "r") as readme: | ||
long_description = readme.readlines() | ||
long_description = ''.join(long_description) | ||
long_description = "".join(long_description) | ||
|
||
with open(os.path.join(basepath, 'requirements.txt'), 'r') as reqfile: | ||
with open(os.path.join(basepath, "requirements.txt"), "r") as reqfile: | ||
reqs = reqfile.readlines() | ||
reqs = [req.strip() for req in reqs] | ||
|
||
setup(name='cenpy', | ||
version=init_version, | ||
description='Explore and download data from Census APIs', | ||
long_description=long_description, | ||
url='https://github.com/cenpy-devs/cenpy', | ||
author='Levi John Wolf', | ||
author_email='[email protected]', | ||
license='3-Clause BSD', | ||
python_requires='>=3.5', | ||
packages=['cenpy'], | ||
install_requires=reqs, | ||
package_data={'cenpy': ['stfipstable.csv']}, | ||
zip_safe=False) | ||
setup( | ||
name=package, | ||
version=init_version, | ||
description="Explore and download data from Census APIs", | ||
long_description=long_description, | ||
url=f"https://github.com/{package}-devs/{package}", | ||
author="Levi John Wolf", | ||
author_email="[email protected]", | ||
license="3-Clause BSD", | ||
python_requires=">=3.6", | ||
packages=[package], | ||
install_requires=reqs, | ||
package_data={package: ["stfipstable.csv"]}, | ||
zip_safe=False, | ||
classifiers=[ | ||
"Development Status :: 5 - Production/Stable", | ||
"Intended Audience :: Science/Research", | ||
"Intended Audience :: Developers", | ||
"Intended Audience :: Education", | ||
"Topic :: Scientific/Engineering", | ||
"Topic :: Scientific/Engineering :: GIS", | ||
"License :: OSI Approved :: BSD License", | ||
"Programming Language :: Python", | ||
"Programming Language :: Python :: 3.6", | ||
"Programming Language :: Python :: 3.7", | ||
"Programming Language :: Python :: 3.8", | ||
"Programming Language :: Python :: 3.9", | ||
], | ||
) |