Source

rope_py3k / setupall.py

Diff from to

setupall.py

-import os
+import os.path
 import shutil
 import subprocess
 import sys
 
 if __name__ == '__main__':
     for kind in ['rope', 'ropeide', 'ropemacs']:
-        manifest = 'tools/%s_MANIFEST.in' % kind
-        setup = 'tools/%s_setup.py' % kind
+        manifest = os.path.join('tools', '%s_MANIFEST.in' % kind)
+        setup = os.path.join('tools', '%s_setup.py' % kind)
+        readme = os.path.join('docs', '%s.txt' % kind)
         shutil.copy(manifest, 'MANIFEST.in')
         shutil.copy(setup, 'setup.py')
+        shutil.copy(readme, 'README.txt')
         try:
             run_setup(sys.argv[1:])
         finally:
-            for temp in ['setup.py', 'MANIFEST.in', 'MANIFEST']:
+            for temp in ['setup.py', 'MANIFEST.in', 'MANIFEST', 'README.txt']:
                 if os.path.exists(temp):
                     os.remove(temp)
Tip: Filter by directory path e.g. /media app.js to search for public/media/app.js.
Tip: Use camelCasing e.g. ProjME to search for ProjectModifiedEvent.java.
Tip: Filter by extension type e.g. /repo .js to search for all .js files in the /repo directory.
Tip: Separate your search with spaces e.g. /ssh pom.xml to search for src/ssh/pom.xml.
Tip: Use ↑ and ↓ arrow keys to navigate and return to view the file.
Tip: You can also navigate files with Ctrl+j (next) and Ctrl+k (previous) and view the file with Ctrl+o.
Tip: You can also navigate files with Alt+j (next) and Alt+k (previous) and view the file with Alt+o.