Skip to content

Commit

Permalink
switching to setup file
Browse files Browse the repository at this point in the history
  • Loading branch information
kcartier-wri committed Sep 12, 2024
1 parent 2f3017e commit ec76dc0
Show file tree
Hide file tree
Showing 3 changed files with 37 additions and 29 deletions.
28 changes: 0 additions & 28 deletions .github/environment.yml

This file was deleted.

36 changes: 36 additions & 0 deletions .github/setup.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,36 @@
from setuptools import setup, find_packages

setup(
name="city_metrix",
version="0.1.2",
description="Module to calculate various metrics on cities.",
packages=find_packages(),
include_package_data=True,
package_data={
'city_metrix.models.building_classifier': [
'building_classifier.pkl',
],
},
author="Justin Terry",
license="MIT",
install_requires=[
"earthengine-api",
"geocube",
"odc-stac",
"geemap",
"pystac-client",
"xarray-spatial",
"xee",
"rioxarray",
"utm",
"osmnx",
"geopandas",
"s3fs",
"dask>=2023.11.0",
"boto3",
"exactextract<=0.2.0.dev252",
"overturemaps",
"scikit-learn>=1.5.1",
"scikit-image>=0.24.0"
],
)
2 changes: 1 addition & 1 deletion .github/workflows/dev_ci_cd_conda.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ jobs:
- name: Install Packages
run: |
conda update -n base conda
conda install --yes --file .github/environment.yml
conda install --yes --file .github/setup.yml
conda install gdal
conda upgrade numpy
- name: Run Tests
Expand Down

0 comments on commit ec76dc0

Please sign in to comment.