Show More
@@ -17,5 +17,6 b" testing_site = '%s/testing/%s' % (archive, version)" | |||||
17 |
|
17 | |||
18 | cd(distdir) |
|
18 | cd(distdir) | |
19 |
|
19 | |||
20 | # FIXME: this assumes the path *with the version number* exists on the server |
|
20 | # Create remote path if it doesn't exist. | |
|
21 | sh('ssh %s "mkdir -p %s/testing/%s" ' % (archive_user, archive_dir, version)) | |||
21 | sh('scp * %s' % testing_site) |
|
22 | sh('scp * %s' % testing_site) |
@@ -15,7 +15,9 b' cd = os.chdir' | |||||
15 | # Constants |
|
15 | # Constants | |
16 |
|
16 | |||
17 | # SSH root address of the archive site |
|
17 | # SSH root address of the archive site | |
18 |
archive = 'ipython@archive.ipython.org |
|
18 | archive_user = 'ipython@archive.ipython.org' | |
|
19 | archive_dir = 'archive.ipython.org' | |||
|
20 | archive = '%s:%s' % (archive_user, archive_dir) | |||
19 |
|
21 | |||
20 | # Utility functions |
|
22 | # Utility functions | |
21 | def sh(cmd): |
|
23 | def sh(cmd): |
General Comments 0
You need to be logged in to leave comments.
Login now