Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 3ac4fbf

Browse files
committed
reorganized codebase a bit, tests are now in tests/
1 parent 30703b8 commit 3ac4fbf

102 files changed

Lines changed: 140 additions & 353 deletions

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

MANIFEST.in

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
11
include setup.cfg
2-
include src/*.h
2+
include src/_igraph/*.h
33
include MANIFEST.in
44
include COPYING
55
include scripts/mkdoc.sh
66
include scripts/epydoc-patched
77
include scripts/epydoc.cfg
8-
include test/*.py
8+
include tests/*.py
99
graft vendor/source/igraph
1010

igraph/test/__init__.py

Lines changed: 0 additions & 55 deletions
This file was deleted.
File renamed without changes.

setup.py

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -633,7 +633,7 @@ def use_educated_guess(self):
633633
buildcfg.process_args_from_command_line()
634634

635635
# Define the extension
636-
sources = glob.glob(os.path.join("src", "*.c"))
636+
sources = glob.glob(os.path.join("src", "_igraph", "*.c"))
637637
igraph_extension = Extension("igraph._igraph", sources)
638638

639639
description = """Python interface to the igraph high performance graph
@@ -652,7 +652,7 @@ def use_educated_guess(self):
652652
Many thanks to the maintainers of this page!
653653
"""
654654

655-
headers = ["src/igraphmodule_api.h"] if not SKIP_HEADER_INSTALL else []
655+
headers = ["src/_igraph/igraphmodule_api.h"] if not SKIP_HEADER_INSTALL else []
656656

657657
options = dict(
658658
name="python-igraph",
@@ -664,17 +664,15 @@ def use_educated_guess(self):
664664
author="Tamas Nepusz",
665665
author_email="[email protected]",
666666
ext_modules=[igraph_extension],
667-
package_dir={"igraph": "igraph"},
667+
package_dir={"igraph": "src/igraph"},
668668
packages=[
669669
"igraph",
670-
"igraph.test",
671670
"igraph.app",
672671
"igraph.drawing",
673672
"igraph.remote",
674673
"igraph.vendor",
675674
],
676675
scripts=["scripts/igraph"],
677-
test_suite="igraph.test.suite",
678676
headers=headers,
679677
platforms="ALL",
680678
keywords=[
File renamed without changes.
File renamed without changes.

0 commit comments

Comments
 (0)