Skip to content

Commit

Permalink
⬆️ code cleaning
Browse files Browse the repository at this point in the history
  • Loading branch information
GiulioRossetti committed Feb 1, 2019
1 parent cd52690 commit f16c381
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 28 deletions.
2 changes: 1 addition & 1 deletion cdlib/algorithms/edge_clustering.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
import networkx as nx
from cdlib.algorithms.internal.Markov import markov
from cdlib.utils import convert_graph_formats, nx_node_integer_mapping
from cdlib.algorithms.internal.HLC import HLC, HLC_read_edge_list_unweighted, HLC_read_edge_list_weighted
from cdlib.algorithms.internal.HLC import HLC, HLC_read_edge_list_unweighted

__all__ = ["hierarchical_link_community", "markov_clustering"]

Expand Down
27 changes: 0 additions & 27 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -32,32 +32,6 @@ def get_requirements(remove_links=True):
return requirements


def get_links():
"""
gets URL Dependency links.
"""
links_list = get_requirements(remove_links=False)
for link in links_list:
keep_link = False
already_removed = False
# git repository url.
if not link.startswith("git+"):
if not link.startswith("svn+"):
if not link.startswith("hg+"):
links_list.remove(link)
already_removed = True
else:
keep_link = True
if not keep_link and not already_removed:
links_list.remove(link)
already_removed = True
else:
keep_link = True
if not keep_link and not already_removed:
links_list.remove(link)
return links_list


here = path.abspath(path.dirname(__file__))

# Get the long description from the README file
Expand Down Expand Up @@ -96,6 +70,5 @@ def get_links():
],
keywords='community-discovery node-clustering edge-clustering complex-networks',
install_requires=get_requirements(),
dependency_links=get_links(),
packages=find_packages(exclude=["*.test", "*.test.*", "test.*", "test", "cdlib.test", "cdlib.test.*"]),
)

0 comments on commit f16c381

Please sign in to comment.