Skip to content

Commit dc70197

Browse files
committed
add env
1 parent cbdb457 commit dc70197

File tree

3 files changed

+57
-0
lines changed

3 files changed

+57
-0
lines changed

.env.example

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
RAW_DATA_PATH=<YOUR_RAW_DATA_PATH>
2+
PROCESSED_DATA_PATH=<YOUR_PROCESSED_DATA_PATH>

pyproject.toml

Lines changed: 42 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,42 @@
1+
[build-system]
2+
requires = ["setuptools>=68", "wheel"]
3+
build-backend = "setuptools.build_meta"
4+
5+
[project]
6+
name = "funrec"
7+
version = "0.0.1"
8+
description = ""
9+
readme = "README.md"
10+
license = { text = "CC BY-NC-SA 4.0" }
11+
authors = [
12+
{ name = "Ruyi Luo", email = "ruyiluo@mail.com" },
13+
{ name = "Bo Kang", email = "bokang@mail.com" }
14+
]
15+
requires-python = ">=3.8"
16+
dependencies = [
17+
"tensorflow==2.13.0",
18+
"pandas==2.0.3",
19+
"scikit-learn>=1.3.2",
20+
"python-dotenv==1.0.1",
21+
"pyyaml==6.0.2",
22+
"gensim==4.3.3",
23+
"tabulate==0.9.0",
24+
"tqdm==4.67.1",
25+
"networkx==3.1",
26+
# 新闻推荐需要
27+
"seaborn==0.13.2",
28+
"faiss-cpu==1.7.4",
29+
"lightgbm==4.6.0",
30+
]
31+
32+
[project.urls]
33+
Homepage = "https://github.com/datawhalechina/fun-rec"
34+
35+
[tool.setuptools]
36+
package-dir = {"" = "src"}
37+
38+
[tool.setuptools.packages.find]
39+
where = ["src"]
40+
41+
[tool.setuptools.package-data]
42+
funrec = ["config/*.yaml", "config/*.py"]

requirements.txt

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
tensorflow==2.13.0
2+
pandas==2.0.3
3+
scikit-learn>=1.3.2
4+
python-dotenv==1.0.1
5+
pyyaml==6.0.2
6+
gensim==4.3.3
7+
tabulate==0.9.0
8+
tqdm==4.67.1
9+
networkx==3.1
10+
# 新闻推荐需要
11+
seaborn==0.13.2
12+
faiss-cpu==1.7.4
13+
lightgbm==4.6.0

0 commit comments

Comments
 (0)