Skip to content

Commit

Permalink
remove versioneer.py
Browse files Browse the repository at this point in the history
  • Loading branch information
hainm committed Jun 19, 2024
1 parent 2521252 commit aab4a79
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1,835 deletions.
14 changes: 3 additions & 11 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -16,12 +16,6 @@
create_cmdclass,
)

import versioneer
from versioneer import get_cmdclass

sdist = get_cmdclass()['sdist']
build_py = get_cmdclass()['build_py']

here = os.path.dirname(os.path.abspath(__file__))
node_root = os.path.join(here, 'js')
is_repo = os.path.exists(os.path.join(here, '.git'))
Expand Down Expand Up @@ -151,14 +145,12 @@ def run(self):
data_files_spec=data_files_spec
)
cmdclass['jsdeps'] = NPM
cmdclass['version'] = get_cmdclass()['version']
cmdclass['build_py'] = js_prerelease(build_py)
cmdclass['sdist'] = js_prerelease(sdist, strict=True)
cmdclass['egg_info'] = js_prerelease(egg_info)

setup_args = {
'name': 'nglview',
'version': versioneer.get_version(),
"use_scm_version": True,
"setup_requires": ['setuptools_scm'],
'description': 'IPython widget to interactively view molecular structures and trajectories.',
'include_package_data': True,
'license': "MIT",
Expand Down Expand Up @@ -196,7 +188,7 @@ def run(self):
"htmd": ["htmd"],
"qcelemental": ["qcelemental"],
},
'packages': set(find_packages() +
'packages': set(find_packages() +
['nglview',
'nglview.static',
'nglview.staticlab',
Expand Down
Loading

0 comments on commit aab4a79

Please sign in to comment.