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
5 changed files
with
33 additions
and
3 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,25 @@ | ||
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, | ||
) | ||
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