generated from NASA-PDS/template-repo-java
-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Resolve #250 and a slight bonus trim to source tarball size
- This resolves #250, removing the despicable `versioneer` from the code - As a free bonus: it also removes built docs from the source distribution
- Loading branch information
Showing
8 changed files
with
12 additions
and
2,416 deletions.
There are no files selected for viewing
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -3,6 +3,7 @@ | |
|
||
graft src/pds_doi_service | ||
graft docs | ||
prune docs/build | ||
graft features | ||
graft inputs | ||
graft tests | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,6 @@ | ||
[metadata] | ||
name = pds-doi-service | ||
version = file: src/pds_doi_service/VERSION.txt | ||
author = PDS | ||
author_email = [email protected] | ||
description = Digital Object Identifier service for the Planetary Data System | ||
|
@@ -65,7 +66,9 @@ test_suite = pds_doi_service.test.suite | |
|
||
[options.extras_require] | ||
dev = | ||
build | ||
black | ||
wheel | ||
flake8 | ||
flake8-bugbear | ||
flake8-docstrings | ||
|
@@ -88,7 +91,6 @@ dev = | |
allure-behave==2.8.13 | ||
behave-testrail-reporter==0.4.0 | ||
pygit2==1.6.1 | ||
versioneer | ||
lxml-stubs | ||
pandas-stubs | ||
types-flask | ||
|
@@ -132,7 +134,7 @@ pds.doi_service = | |
|
||
|
||
[coverage:run] | ||
omit = */_version.py,*/__init__.py | ||
# No patterns to omit at this time | ||
|
||
|
||
[test] | ||
|
@@ -144,7 +146,7 @@ addopts = -n auto --cov=pds | |
|
||
[flake8] | ||
max-line-length = 120 | ||
extend-exclude = versioneer.py,_version.py,docs,tests,setup.py | ||
extend-exclude = docs,tests,setup.py | ||
docstring_convention = google | ||
|
||
# Ignoring: | ||
|
@@ -183,15 +185,4 @@ extend-ignore = E203, E501, W503 | |
select = D,E,F,N,W,B,B902,B903,B950 | ||
|
||
[mypy] | ||
|
||
[mypy-pds_doi_service._version] | ||
# We don't care about issues in versioneer's files | ||
ignore_errors = True | ||
|
||
[versioneer] | ||
VCS = git | ||
style = pep440 | ||
tag_prefix = v | ||
versionfile_source = src/pds_doi_service/_version.py | ||
versionfile_build = pds_doi_service/_version.py | ||
parentdir_prefix = pds.pds_doi_service- | ||
# No patterns to ignore at this time |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,9 +1,6 @@ | ||
# encoding: utf-8 | ||
|
||
import setuptools | ||
import versioneer | ||
|
||
setuptools.setup( | ||
version=versioneer.get_version(), | ||
cmdclass=versioneer.get_cmdclass(), | ||
) | ||
|
||
setuptools.setup() |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
2.0.2 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,5 @@ | ||
# encoding: utf-8 | ||
"""Planetary Data System's Digital Object Identifier service""" | ||
from ._version import get_versions | ||
import pkg_resources | ||
|
||
__version__ = get_versions()["version"] | ||
__date__ = get_versions()["date"] | ||
del get_versions | ||
__version__ = VERSION = pkg_resources.resource_string(__name__, "VERSION.txt").decode("utf-8").strip() |
Oops, something went wrong.