Skip to content

Commit c093445

Browse files
committed
update version for release; simplified version text
1 parent 9739d42 commit c093445

2 files changed

Lines changed: 1 addition & 20 deletions

File tree

lib/__init__.py

Lines changed: 0 additions & 1 deletion
This file was deleted.

setup.py

Lines changed: 1 addition & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -4,29 +4,11 @@
44

55
from setuptools import setup
66

7-
here = os.path.abspath(os.path.dirname(__file__))
8-
9-
def read(*parts):
10-
with codecs.open(os.path.join(here, *parts), 'r') as fp:
11-
return fp.read()
12-
13-
def find_version(*file_paths):
14-
version_file = read(*file_paths)
15-
version_match = re.search(
16-
r"^__version__ = ['\"]([^'\"]*)['\"]",
17-
version_file,
18-
re.M,
19-
)
20-
if version_match:
21-
return version_match.group(1)
22-
23-
raise RuntimeError("Unable to find version string.")
24-
257
install_requires = ['dataverse-client-python']
268

279
setup(
2810
name = 'dataverse-reports',
29-
version=find_version("lib", "__init__.py"),
11+
version='1.1.1',
3012
url = 'https://www.tdl.org/',
3113
author = 'Nicholas Woodward',
3214
author_email = 'njw@austin.utexas.edu',

0 commit comments

Comments
 (0)