Skip to content

Commit

Permalink
Improve setup.py for GitHub action.
Browse files Browse the repository at this point in the history
  • Loading branch information
ralphwetzel committed Jan 19, 2020
1 parent 00610bf commit 6665475
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
5 changes: 5 additions & 0 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,8 @@
import setuptools.command.sdist
import setuptools.command.install

import pathlib

from distutils.extension import Extension

# This code replaces ...
Expand Down Expand Up @@ -61,6 +63,9 @@ def file_as_blockiter(afile, blocksize=65536):
current_html_hash = 'doit'
current_rst_hash = 'doit'

# ensure that 'readme' directory exists
pathlib.Path('readme/').mkdir(exist_ok=True)

try:
with open('readme/README.hash', 'r') as f:
lines = f.readlines()
Expand Down
2 changes: 1 addition & 1 deletion theonionbox/stamp.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
__title__ = 'The Onion Box'
__description__ = 'Dashboard to monitor Tor node operations.'
__version__ = '20.2rc1'
__stamp__ = '20200118|222159'
__stamp__ = '20200119|095654'

0 comments on commit 6665475

Please sign in to comment.