Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
P
papersurfer
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Requirements
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Test cases
Artifacts
Deploy
Releases
Package registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Issue analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
GitLab community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Jacobsohn, Johann
papersurfer
Commits
4de34d53
Commit
4de34d53
authored
Aug 17, 2020
by
Johann Jacobsohn
Browse files
Options
Downloads
Patches
Plain Diff
Revert "add --version argument and pull version from git"
This reverts commit
b669274f
.
parent
b669274f
No related branches found
No related tags found
No related merge requests found
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
papersurfer/papersurfer.py
+0
-3
0 additions, 3 deletions
papersurfer/papersurfer.py
pyproject.toml
+0
-2
0 additions, 2 deletions
pyproject.toml
setup.py
+2
-3
2 additions, 3 deletions
setup.py
with
2 additions
and
8 deletions
papersurfer/papersurfer.py
+
0
−
3
View file @
4de34d53
...
@@ -22,7 +22,6 @@ from ui_elements import PrettyButton
...
@@ -22,7 +22,6 @@ from ui_elements import PrettyButton
from
mattermost
import
Mattermost
from
mattermost
import
Mattermost
from
doi
import
Doi
from
doi
import
Doi
from
bibtex
import
Bibtex
from
bibtex
import
Bibtex
from
setuptools_scm
import
get_version
class
Papersurfer
:
class
Papersurfer
:
...
@@ -422,8 +421,6 @@ def parse_args():
...
@@ -422,8 +421,6 @@ def parse_args():
help=
"
Dump mattermost paper posts to stdout and exit
"
)
help=
"
Dump mattermost paper posts to stdout and exit
"
)
parser.add(
'
--
dump
-
bibtex
'
, action=
'
store_true
'
,
parser.add(
'
--
dump
-
bibtex
'
, action=
'
store_true
'
,
help=
"
Dump mattermost paper posts to stdout and exit
"
)
help=
"
Dump mattermost paper posts to stdout and exit
"
)
parser.add(
'
--
version
'
, action=
'
version
'
,
version=get_version(root=
'
..
'
, relative_to=__file__))
options = parser.parse_args()
options = parser.parse_args()
if not options.url:
if not options.url:
...
...
This diff is collapsed.
Click to expand it.
pyproject.toml
deleted
100644 → 0
+
0
−
2
View file @
b669274f
[tool.setuptools_scm]
write_to
=
"pkg/version.py"
This diff is collapsed.
Click to expand it.
setup.py
+
2
−
3
View file @
4de34d53
...
@@ -10,6 +10,7 @@ README = (HERE / "README.md").read_text()
...
@@ -10,6 +10,7 @@ README = (HERE / "README.md").read_text()
# This call to setup() does all the work
# This call to setup() does all the work
setup
(
setup
(
name
=
"
papersurfer
"
,
name
=
"
papersurfer
"
,
version
=
"
0.7.0
"
,
description
=
""
,
description
=
""
,
long_description
=
README
,
long_description
=
README
,
long_description_content_type
=
"
text/markdown
"
,
long_description_content_type
=
"
text/markdown
"
,
...
@@ -24,12 +25,10 @@ setup(
...
@@ -24,12 +25,10 @@ setup(
],
],
packages
=
[
"
papersurfer
"
],
packages
=
[
"
papersurfer
"
],
include_package_data
=
True
,
include_package_data
=
True
,
install_requires
=
[
"
requests
"
,
"
mattermostdriver
"
,
"
urwid
"
,
"
configargparse
"
,
"
setuptools_scm
"
],
install_requires
=
[
"
requests
"
,
"
mattermostdriver
"
,
"
urwid
"
,
"
configargparse
"
],
entry_points
=
{
entry_points
=
{
"
console_scripts
"
:
[
"
console_scripts
"
:
[
"
papersurfer=papersurfer.papersurfer:main
"
,
"
papersurfer=papersurfer.papersurfer:main
"
,
]
]
},
},
use_scm_version
=
True
,
setup_requires
=
[
'
setuptools_scm
'
],
)
)
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment