Skip to content

Commit

Permalink
fix(deps): Add honeybee-energy as a dependency
Browse files Browse the repository at this point in the history
  • Loading branch information
mikkelkp committed Nov 1, 2024
1 parent 8f11812 commit 4cf7984
Show file tree
Hide file tree
Showing 5 changed files with 3 additions and 8 deletions.
1 change: 0 additions & 1 deletion .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,6 @@ jobs:
python -m pip install --upgrade pip
pip install -r requirements.txt
pip install -r dev-requirements.txt
pip install -r extras-requirements.txt
- name: run tests
run: python -m pytest tests/

Expand Down
3 changes: 1 addition & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -28,15 +28,14 @@ COPY honeybee_radiance_postprocess ${LIBRARYDIR}/honeybee_radiance_postprocess
COPY .git ${LIBRARYDIR}/.git
COPY README.md ${LIBRARYDIR}
COPY requirements.txt ${LIBRARYDIR}
COPY extras-requirements.txt ${LIBRARYDIR}
COPY setup.py ${LIBRARYDIR}
COPY setup.cfg ${LIBRARYDIR}
COPY LICENSE ${LIBRARYDIR}

# Switch user back to modify packages
USER root
RUN pip3 install --no-cache-dir setuptools wheel \
&& pip3 install --no-cache-dir ./honeybee-radiance-postprocess[full] \
&& pip3 install --no-cache-dir ./honeybee-radiance-postprocess \
&& apt-get -y --purge remove git \
&& apt-get -y clean \
&& apt-get -y autoremove \
Expand Down
1 change: 0 additions & 1 deletion extras-requirements.txt

This file was deleted.

3 changes: 2 additions & 1 deletion requirements.txt
Original file line number Diff line number Diff line change
@@ -1,2 +1,3 @@
honeybee-radiance==1.66.124
honeybee-radiance>=1.66.124
honeybee-energy>=1.109.14
numpy>=1.21.6
3 changes: 0 additions & 3 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,6 @@
with open('requirements.txt') as f:
requirements = f.read().splitlines()

with open('extras-requirements.txt') as f:
extras_requirements = f.read().splitlines()

setuptools.setup(
name="honeybee-radiance-postprocess",
Expand All @@ -22,7 +20,6 @@
packages=setuptools.find_packages(exclude=["tests*"]),
include_package_data=True,
install_requires=requirements,
extras_require={'full': extras_requirements},
entry_points={
"console_scripts": [
"honeybee-radiance-postprocess = honeybee_radiance_postprocess.cli:postprocess"
Expand Down

0 comments on commit 4cf7984

Please sign in to comment.