Correct cerc-hub installer to include dependencies

This commit is contained in:
Guille Gutierrez 2023-03-28 10:41:29 -04:00
parent 143c09dc67
commit 86de5a33ca
3 changed files with 6 additions and 4 deletions

View File

@ -106,9 +106,9 @@ class TestExports(TestCase):
path=file_path, path=file_path,
function_to_hub=Dictionaries().alkis_function_to_hub_function).city function_to_hub=Dictionaries().alkis_function_to_hub_function).city
self.assertIsNotNone(city, 'city is none') self.assertIsNotNone(city, 'city is none')
# EnergyBuildingsExportsFactory('idf', city, self._output_path).export() EnergyBuildingsExportsFactory('idf', city, self._output_path).export()
# ConstructionFactory('nrcan', city).enrich() ConstructionFactory('nrcan', city).enrich()
# EnergyBuildingsExportsFactory('idf', city, self._output_path).export() EnergyBuildingsExportsFactory('idf', city, self._output_path).export()
UsageFactory('nrcan', city).enrich() UsageFactory('nrcan', city).enrich()
try: try:
EnergyBuildingsExportsFactory('idf', city, self._output_path).export() EnergyBuildingsExportsFactory('idf', city, self._output_path).export()

View File

@ -23,4 +23,5 @@ shapely
geopandas geopandas
triangle triangle
psycopg2-binary psycopg2-binary
Pillow Pillow
pathlib

View File

@ -80,6 +80,7 @@ setup(
'hub.imports' 'hub.imports'
], ],
setup_requires=install_requires, setup_requires=install_requires,
install_requires=install_requires,
data_files=[ data_files=[
('hub', glob.glob('requirements.txt')), ('hub', glob.glob('requirements.txt')),
('hub/config', glob.glob('hub/config/*.ini')), ('hub/config', glob.glob('hub/config/*.ini')),