diff --git a/README.md b/README.md index a356416a..6401bcca 100644 --- a/README.md +++ b/README.md @@ -20,18 +20,18 @@ We develop this toolkit according to the settings of DeepWalk. The implemented o - Clone this repo. - enter the directory where you clone it, and run the following code - ```bash - pip install -r requirements.txt - cd src - python setup.py install - ``` +```bash +pip install -r requirements.txt +python setup.py install +``` #### General Options You can check out the other options available to use with *OpenNE* using: - python -m openne --help - +```bash +python -m openne --help +``` - --input, the input file of a network; - --graph-format, the format of input graph, adjlist or edgelist; diff --git a/src/openne/__init__.py b/openne/__init__.py similarity index 100% rename from src/openne/__init__.py rename to openne/__init__.py diff --git a/src/openne/__main__.py b/openne/__main__.py similarity index 100% rename from src/openne/__main__.py rename to openne/__main__.py diff --git a/src/openne/classify.py b/openne/classify.py similarity index 100% rename from src/openne/classify.py rename to openne/classify.py diff --git a/src/openne/gcn/__init__.py b/openne/gcn/__init__.py similarity index 100% rename from src/openne/gcn/__init__.py rename to openne/gcn/__init__.py diff --git a/src/openne/gcn/gcnAPI.py b/openne/gcn/gcnAPI.py similarity index 100% rename from src/openne/gcn/gcnAPI.py rename to openne/gcn/gcnAPI.py diff --git a/src/openne/gcn/inits.py b/openne/gcn/inits.py similarity index 100% rename from src/openne/gcn/inits.py rename to openne/gcn/inits.py diff --git a/src/openne/gcn/layers.py b/openne/gcn/layers.py similarity index 100% rename from src/openne/gcn/layers.py rename to openne/gcn/layers.py diff --git a/src/openne/gcn/metrics.py b/openne/gcn/metrics.py similarity index 100% rename from src/openne/gcn/metrics.py rename to openne/gcn/metrics.py diff --git a/src/openne/gcn/models.py b/openne/gcn/models.py similarity index 100% rename from src/openne/gcn/models.py rename to openne/gcn/models.py diff --git a/src/openne/gcn/train.py b/openne/gcn/train.py similarity index 100% rename from src/openne/gcn/train.py rename to openne/gcn/train.py diff --git a/src/openne/gcn/utils.py b/openne/gcn/utils.py similarity index 100% rename from src/openne/gcn/utils.py rename to openne/gcn/utils.py diff --git a/src/openne/gf.py b/openne/gf.py similarity index 100% rename from src/openne/gf.py rename to openne/gf.py diff --git a/src/openne/graph.py b/openne/graph.py similarity index 100% rename from src/openne/graph.py rename to openne/graph.py diff --git a/src/openne/grarep.py b/openne/grarep.py similarity index 100% rename from src/openne/grarep.py rename to openne/grarep.py diff --git a/src/openne/hope.py b/openne/hope.py similarity index 100% rename from src/openne/hope.py rename to openne/hope.py diff --git a/src/openne/lap.py b/openne/lap.py similarity index 100% rename from src/openne/lap.py rename to openne/lap.py diff --git a/src/openne/line.py b/openne/line.py similarity index 100% rename from src/openne/line.py rename to openne/line.py diff --git a/src/openne/lle.py b/openne/lle.py similarity index 100% rename from src/openne/lle.py rename to openne/lle.py diff --git a/src/openne/node2vec.py b/openne/node2vec.py similarity index 100% rename from src/openne/node2vec.py rename to openne/node2vec.py diff --git a/src/openne/sdne.py b/openne/sdne.py similarity index 100% rename from src/openne/sdne.py rename to openne/sdne.py diff --git a/src/openne/tadw.py b/openne/tadw.py similarity index 100% rename from src/openne/tadw.py rename to openne/tadw.py diff --git a/src/openne/walker.py b/openne/walker.py similarity index 100% rename from src/openne/walker.py rename to openne/walker.py diff --git a/src/setup.py b/setup.py similarity index 84% rename from src/setup.py rename to setup.py index 4b582ca7..16437256 100644 --- a/src/setup.py +++ b/setup.py @@ -7,7 +7,7 @@ author="THUNLP", description="Open Source Network Embedding toolkit", packages=find_packages(), - long_description=open("../README.md").read(), + long_description=open("README.md").read(), zip_safe=False, setup_requires=[] -) \ No newline at end of file +)