Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
C
common_helper_files
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
fact-depend
common_helper_files
Commits
cc7177f4
Commit
cc7177f4
authored
Apr 27, 2017
by
Timm Behner
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Changing from git based versioning to version string
parent
4658f92c
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
1 deletions
+4
-1
__init__.py
common_helper_files/__init__.py
+2
-0
setup.py
setup.py
+2
-1
No files found.
common_helper_files/__init__.py
View file @
cc7177f4
__version__
=
'0.1.5'
from
.file_functions
import
read_in_chunks
,
get_directory_for_filename
,
create_dir_for_file
,
human_readable_file_size
from
.git_functions
import
get_version_string_from_git
from
.hash_functions
import
md5sum
...
...
setup.py
View file @
cc7177f4
import
os
import
subprocess
from
setuptools
import
setup
,
find_packages
from
common_helper_files
import
__version__
setup
(
name
=
"common_helper_files"
,
version
=
subprocess
.
check_output
([
'git'
,
'describe'
,
'--always'
],
cwd
=
os
.
path
.
dirname
(
os
.
path
.
abspath
(
__file__
)))
.
strip
()
.
decode
(
'utf-8'
)
,
version
=
__version__
,
packages
=
find_packages
(),
install_requires
=
[
'hurry.filesize >= 0.9'
...
...
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