Skip to content

Commit

Permalink
Add requirements.txt to files in repo for security (#239)
Browse files Browse the repository at this point in the history
  • Loading branch information
dchassin authored Sep 8, 2024
1 parent 0cbbddf commit ffd7dfa
Show file tree
Hide file tree
Showing 3 changed files with 42 additions and 5 deletions.
3 changes: 0 additions & 3 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -103,9 +103,6 @@ fault_check.txt
# files that should be ignored by git
*_ignore.*

# requirements files
requirements.txt

# terraform artifacts
*.zip
terraform.*
Expand Down
4 changes: 2 additions & 2 deletions python/README.md
Original file line number Diff line number Diff line change
@@ -1,14 +1,14 @@
# Python Requirements

The `requirements.csv` file provides platform specific information about python modules required to build and run GridLAB-D.
The `requirements.csv` file provides platform specific information about python modules required to build and run GridLAB-D. This file is used to generate the `requirements.txt` file. If you change the CSV file you must push the updated TXT file.

## Sysinfo

You can determine which platform the python build system is running on by using the command `python3 python/requirements.py --sysinfo`.

## Default

The `default` column specified the module version required if none is specified for the current platform.
The `default` column specifies the module version required if none is specified for the current platform.

## Priority

Expand Down
40 changes: 40 additions & 0 deletions requirements.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,40 @@
CensusData==1.15
Fiona==1.8.22
PYPOWER==5.1.16
Pillow==9.3.0
Shapely==1.8.4
address==0.1.1
boto3==1.26.115
build==0.9.0
cfo==1.0.1
control==0.9.2
docker==4.4.4
elevation==1.1.3
flask==3.0.3
flask-restful-swagger==0.20.1
folium==0.12.1
geocoder==1.38.1
geopandas==0.12.2
geopy==2.1.0
haversine==2.3.0
imageio==2.31.5
ipinfo==4.2.1
ipykernel==5.5.5
ipyplot==1.1.1
ipython==8.10.0
matplotlib_inline==0.1.6
metar==1.9.0
networkx==2.8.8
numpy==1.24.4
openpyxl==3.1.0
pandas==2.2.2
pandas_access==0.0.1
pymysql==1.0.2
pyproj==3.4.0
pyrlu==0.2.0
pysolar==0.9
rasterio==1.3.6
scipy==1.13.1
simplekml==1.3.6
timezonefinder==5.2.0
xlrd==2.0.1

0 comments on commit ffd7dfa

Please sign in to comment.