Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Merlijn Wajer
Python Derivermodule
Commits
81092397
Commit
81092397
authored
Jan 26, 2021
by
Merlijn Wajer
Browse files
version: bump to 1.0.0
parent
9dfc0de3
Changes
4
Hide whitespace changes
Inline
Side-by-side
derivermodule/__init__.py
View file @
81092397
...
...
@@ -5,3 +5,4 @@ from . import metadata
from
.
import
task
from
.
import
imagestack
from
.
import
scandata
from
.version
import
__version__
derivermodule/version.py
0 → 100644
View file @
81092397
__version__
=
'1.0.0'
doc/source/helloworld.rst
View file @
81092397
...
...
@@ -14,6 +14,7 @@ and then gzips the content.
from os.path import join, basename
from subprocess import check_call, CalledProcessError
import derivermodule
from derivermodule.logger import get_logger
from derivermodule.task import get_task_info
from derivermodule.files import canonical_item_filename
...
...
@@ -28,7 +29,8 @@ and then gzips the content.
if __name__ == '__main__':
# Log our module version
logger.info('hocr-char-to-word module version %s' % VERSION)
logger.info('hocr-char-to-word module version %s '\
' (derivermodule version: %s)' % (VERSION, derivermodule.__version__)
# Read task.json
info = get_task_info()
...
...
setup.py
View file @
81092397
from
setuptools
import
setup
from
setuptools
import
setup
,
find_packages
from
distutils.util
import
convert_path
main_ns
=
{}
ver_path
=
convert_path
(
'derivermodule/version.py'
)
with
open
(
ver_path
)
as
ver_file
:
exec
(
ver_file
.
read
(),
main_ns
)
setup
(
name
=
'derivermodule'
,
version
=
'0.0.1'
,
version
=
main_ns
[
'__version__'
]
,
description
=
'Python derivermodule package'
,
author
=
'Merlijn Boris Wolf Wajer'
,
author_email
=
'merlijn@archive.org'
,
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment