Skip to content

Commit

Permalink
test
Browse files Browse the repository at this point in the history
  • Loading branch information
dvershinin committed Mar 17, 2021
1 parent b3e141f commit 13eda2d
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 8 deletions.
4 changes: 0 additions & 4 deletions fds.spec
Original file line number Diff line number Diff line change
Expand Up @@ -85,8 +85,6 @@ Requires: python2-tqdm
Requires: python2-cloudflare
# will bring in msgpack and lockfile dependencies:
Requires: python2-CacheControl
# Version extraction
Requires: python2-setuptools_scm
%{?python_provide:%python_provide python2-%{name}}

%description -n python2-%{name}
Expand All @@ -106,8 +104,6 @@ Requires: python%{python3_pkgversion}-tqdm
Requires: python%{python3_pkgversion}-cloudflare
# will bring in msgpack and lockfile dependencies:
Requires: python%{python3_pkgversion}-CacheControl
# Version extraction
Requires: python%{python3_pkgversion}-setuptools_scm
%{?python_provide:%python_provide python%{python3_pkgversion}-%{name}}

%description -n python%{python3_pkgversion}-%{name}
Expand Down
4 changes: 1 addition & 3 deletions fds/__about__.py
Original file line number Diff line number Diff line change
@@ -1,3 +1 @@
from setuptools_scm import get_version

__version__ = get_version(root='..', relative_to=__file__)
__version__ = 0
5 changes: 4 additions & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,10 @@
package_data={'fds': ['data/*.json']},
zip_safe=False,
license="BSD",
use_scm_version=True,
use_scm_version={
'write_to': 'fds/__about__.py',
'write_to_template': '__version__ = "{version}"',
},
setup_requires=['setuptools_scm', 'setuptools_scm_git_archive'],
install_requires=install_requires,
extras_require={
Expand Down

0 comments on commit 13eda2d

Please sign in to comment.