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
Kevin Lyda
chkcrontab
Commits
81b5f5a3
Commit
81b5f5a3
authored
Jan 04, 2017
by
Kevin Lyda
💬
Browse files
Fun with python, bytes and utf8.
parent
e973f196
Pipeline
#1054
passed with stage
in 4 minutes and 15 seconds
Changes
1
Pipelines
3
Hide whitespace changes
Inline
Side-by-side
setup.py
View file @
81b5f5a3
...
...
@@ -29,7 +29,7 @@ from distutils.core import Command
BASE_DIR
=
os
.
path
.
dirname
(
globals
().
get
(
'__file__'
,
os
.
getcwd
()))
VERSION
=
subprocess
.
check_output
(
[
'git'
,
'describe'
,
'--dirty=*'
,
'--always'
]).
strip
()
[
'git'
,
'describe'
,
'--dirty=*'
,
'--always'
]).
strip
()
.
decode
(
'utf8'
)
open
(
'_version.py'
,
'w'
).
write
(
'__version__ = "%s"
\n
'
%
VERSION
)
class
TestCmd
(
Command
):
...
...
Write
Preview
Markdown
is supported
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