-
Notifications
You must be signed in to change notification settings - Fork 72
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
6 changed files
with
63 additions
and
24 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
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,27 @@ | ||
import os | ||
import sys | ||
import subprocess | ||
from os.path import join | ||
|
||
|
||
def main(): | ||
""" | ||
This does checks on the release metadata for PyPI and pip-licenses: | ||
""" | ||
|
||
subprocess.run( | ||
[sys.executable, "setup.py", "bdist_wheel"], | ||
check=True, | ||
) | ||
print(os.listdir(".")) | ||
import txtorcon | ||
dist_file = join("dist", "txtorcon-{}-py2.py3-none-any.whl".format(txtorcon.__version__)) | ||
print("dist: {}".format(dist_file)) | ||
subprocess.run( | ||
[sys.executable, "-m", "twine", "check", dist_file], | ||
check=True, | ||
) | ||
|
||
|
||
if __name__ == "__main__": | ||
main() |
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 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,6 +1 @@ | ||
__version__ = '19.0.0' | ||
__author__ = 'meejah' | ||
__contact__ = 'meejah@meejah.ca' | ||
__url__ = 'https://github.com/meejah/txtorcon' | ||
__license__ = 'MIT' | ||
__copyright__ = 'Copyright 2012-2019' | ||
__version__ = '19.1.0' |