Re-arranged project in to a package for easy installation with pip and to remove the need to duplicate sphinxtogithub.py for testing

This commit is contained in:
winhamwr
2009-12-19 08:21:03 +08:00
committed by Michael Jones
parent 2c238aa918
commit fbe5cf8fed
10 changed files with 6 additions and 26 deletions
+6
View File
@@ -0,0 +1,6 @@
#!/usr/bin/env python
import sys
from sphinxtogithub.sphinxtogithub import main
if __name__ == "__main__":
mains(sys.argv[1:])
View File
-25
View File
@@ -1,25 +0,0 @@
#!/usr/bin/env python
import unittest
import sys
sys.path.append(".")
from sphinxtogithub.test import directoryhandler, filehandler, replacer, renamer
if __name__ == "__main__":
suites = [
filehandler.testSuite(),
directoryhandler.testSuite(),
replacer.testSuite(),
renamer.testSuite(),
]
suite = unittest.TestSuite(suites)
runner = unittest.TextTestRunner()
runner.run(suite)
-1
View File
@@ -1 +0,0 @@
../../sphinxtogithub.py