Kaydet (Commit) aecf0203 authored tarafından Suleyman Poyraz's avatar Suleyman Poyraz Kaydeden (comit) GitHub

Merge pull request #1 from AquilaNipalensis/master

tests eklendi
......@@ -47,17 +47,17 @@ if 'dist' in sys.argv:
shutil.rmtree(distdir)
sys.exit(0)
#elif 'test' in sys.argv:
# fail = 0
# for test in os.listdir("tests"):
# if test.endswith(".py"):
# if 0 != subprocess.call(["tests/" + test]):
# fail += 1
# print(test, "failed!")
# if not fail:
# print("all tests passed :)")
# sys.exit(0)
# sys.exit(1)
elif 'test' in sys.argv:
fail = 0
for test in os.listdir("tests"):
if test.endswith(".py"):
if 0 != subprocess.call(["tests/" + test]):
fail += 1
print(test, "failed!")
if not fail:
print("all tests passed :)")
sys.exit(0)
sys.exit(1)
class Install(install):
......@@ -76,10 +76,9 @@ setup(
name='piksemel',
version=version,
ext_modules=[Extension('piksemel',
['src/iksemel.c', 'src/pyiks.c'],
['src/iksemel.c','src/pyiks.c'],
extra_compile_args=["-fvisibility=hidden"])],
cmdclass = {
'install' : Install
}
)
 
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment