forked from quantmind/pulsar
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
7 changed files
with
34 additions
and
28 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
Ver. 0.8.0 | ||
Ver. 0.8.0 - 2014-Mar-06 | ||
=========================== | ||
* **Backward incompatible version** | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,28 @@ | ||
import os | ||
from datetime import datetime, date | ||
|
||
import setup | ||
from clean import rmfiles | ||
|
||
rmfiles() | ||
script = os.path.abspath(setup.__file__) | ||
|
||
assert setup.mod.VERSION[3] == 'final' | ||
|
||
with open('CHANGELOG.rst', 'r') as f: | ||
changelog = f.read() | ||
|
||
top = changelog.split('\n')[0] | ||
version_date = top.split(' - ') | ||
assert len(version_date) == 2, 'Top of CHANGELOG.rst must be version and date' | ||
version, datestr = version_date | ||
dt = datetime.strptime(datestr, '%Y-%b-%d').date() | ||
assert dt == date.today() | ||
|
||
assert version == 'Ver. %s' % setup.mod.__version__ | ||
|
||
|
||
setup.run(argv=[script, 'sdist']) | ||
|
||
|
||
print('%s %s ready!' % (setup.package_name, setup.mod.__version__)) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.