Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
6
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Switch to GitLab Next
Sign in / Register
Toggle navigation
P
python-versiontag
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Locked Files
Issues
0
Issues
0
List
Boards
Labels
Service Desk
Milestones
Iterations
Merge Requests
0
Merge Requests
0
Requirements
Requirements
List
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Test Cases
Security & Compliance
Security & Compliance
Dependency List
License Compliance
Operations
Operations
Incidents
Environments
Analytics
Analytics
CI / CD
Code Review
Insights
Issue
Repository
Value Stream
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
thelabnyc
python-versiontag
Commits
dd518e64
Commit
dd518e64
authored
Mar 18, 2016
by
Craig Weber
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
dogfood
parent
76ce4e7b
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
6 additions
and
1 deletion
+6
-1
.gitignore
.gitignore
+1
-0
requirements.txt
requirements.txt
+1
-0
setup.py
setup.py
+4
-1
No files found.
.gitignore
View file @
dd518e64
...
...
@@ -123,3 +123,4 @@ target/
*.pyc
__pycache__/
local_settings.py
version.txt
requirements.txt
0 → 100644
View file @
dd518e64
versiontag
>=0.1.0
setup.py
View file @
dd518e64
...
...
@@ -2,6 +2,7 @@
import
codecs
import
os.path
from
distutils.core
import
setup
from
versiontag
import
get_version
,
cache_git_tag
packages
=
[
'versiontag'
,
...
...
@@ -13,9 +14,11 @@ def fpath(name):
def
read
(
fname
):
return
codecs
.
open
(
fpath
(
fname
),
encoding
=
'utf-8'
).
read
()
cache_git_tag
()
setup
(
name
=
'versiontag'
,
version
=
'0.1.0'
,
version
=
get_version
(
pypi
=
True
)
,
description
=
'Simple git tag based version numbers'
,
long_description
=
read
(
fpath
(
'README.rst'
)),
author
=
'Craig Weber'
,
...
...
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