Skip to content

Commit efe52e8

Browse files
committed
Simplify extras_require to tf and test
1 parent a0580c6 commit efe52e8

2 files changed

Lines changed: 3 additions & 19 deletions

File tree

README.md

Lines changed: 1 addition & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -21,30 +21,15 @@
2121
| Struc2Vec | [KDD 2017][struc2vec: Learning Node Representations from Structural Identity](https://arxiv.org/pdf/1704.03165.pdf) | [【Graph Embedding】Struc2Vec:算法原理,实现和应用](https://zhuanlan.zhihu.com/p/56733145) |
2222

2323

24-
# CI Compatibility Matrix
2524

26-
The CI matrix currently validates the following Python/TensorFlow combinations:
27-
28-
| Python | TensorFlow | `TF_USE_LEGACY_KERAS` |
29-
| :----: | :--------: | :-------------------: |
30-
| 3.7 | 1.15.5 | 0 |
31-
| 3.10 | 2.10.0 | 0 |
32-
| 3.10 | 2.15.0 | 0 |
33-
| 3.11 | 2.15.0 | 0 |
34-
| 3.10 | 2.20.0 | 1 |
35-
| 3.11 | 2.20.0 | 1 |
36-
| 3.12 | 2.20.0 | 0 |
37-
| 3.13 | 2.20.0 | 0 |
38-
39-
For TensorFlow 2.16+ jobs that need legacy Keras behavior, CI installs `tf-keras` and sets `TF_USE_LEGACY_KERAS=1`.
4025

4126
# How to run examples
4227

4328
1. Clone the repo and install dependencies.
4429
2. Run one example script.
4530

4631
```bash
47-
pip install -e .[cpu]
32+
pip install -e .[tf]
4833
python examples/deepwalk_wiki.py
4934
```
5035

setup.py

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -20,16 +20,15 @@
2020

2121
setuptools.setup(
2222
name="ge",
23-
version="0.0.0",
23+
version="0.1.0",
2424
author="Weichen Shen",
2525
author_email="weichenswc@163.com",
2626
url="https://github.com/shenweichen/GraphEmbedding",
2727
packages=setuptools.find_packages(exclude=[]),
2828
python_requires=">=3.7",
2929
install_requires=REQUIRED_PACKAGES,
3030
extras_require={
31-
"cpu": ["tensorflow>=1.15.5"],
32-
"gpu": ["tensorflow>=1.15.5"],
31+
"tf": ["tensorflow>=1.15.5"],
3332
"test": [
3433
"pytest>=7.0.0",
3534
"pytest-cov>=4.0.0",

0 commit comments

Comments
 (0)