Correct cerc-hub installer to include dependencies

This commit is contained in:
Guille Gutierrez 2023-03-28 10:41:29 -04:00
parent f62df2e873
commit ed13f21470
3 changed files with 6 additions and 2 deletions

View File

@ -106,10 +106,12 @@ class TestExports(TestCase):
path=file_path,
function_to_hub=Dictionaries().alkis_function_to_hub_function).city
self.assertIsNotNone(city, 'city is none')
EnergyBuildingsExportsFactory('idf', city, self._output_path).export()
ConstructionFactory('nrcan', city).enrich()
EnergyBuildingsExportsFactory('idf', city, self._output_path).export()
UsageFactory('nrcan', city).enrich()
try:
EnergyBuildingsExportsFactory('idf', city, self._output_path).export_debug()
EnergyBuildingsExportsFactory('idf', city, self._output_path).export()
except Exception:
self.fail("Idf ExportsFactory raised ExceptionType unexpectedly!")

View File

@ -24,3 +24,4 @@ geopandas
triangle
psycopg2-binary
Pillow
pathlib

View File

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