Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Change 'cl_napalm_configure' reference in setup.py, remove redundant setup #249

Closed
jzohrab opened this issue May 11, 2016 · 0 comments
Closed

Comments

@jzohrab
Copy link
Contributor

jzohrab commented May 11, 2016

cl_napalm_configure currently fails:

Traceback (most recent call last):
  File "/usr/local/bin/cl_napalm_configure", line 9, in <module>
    load_entry_point('napalm==1.0.1', 'console_scripts', 'cl_napalm_configure')()
  File "/Library/Python/2.7/site-packages/pkg_resources/__init__.py", line 542, in load_entry_point
    return get_distribution(dist).load_entry_point(group, name)
  File "/Library/Python/2.7/site-packages/pkg_resources/__init__.py", line 2569, in load_entry_point
    return ep.load()
  File "/Library/Python/2.7/site-packages/pkg_resources/__init__.py", line 2229, in load
    return self.resolve()
  File "/Library/Python/2.7/site-packages/pkg_resources/__init__.py", line 2235, in resolve
    module = __import__(self.module_name, fromlist=['__name__'], level=0)
ImportError: No module named clitools.cl_napalm_configure

The cl_napalm_configure alias is currently set in both this repo and napalm-base:

https://github.com/napalm-automation/napalm/blob/develop/setup.py#L31:
'cl_napalm_configure=napalm.clitools.cl_napalm_configure:main',

https://github.com/napalm-automation/napalm-base/blob/develop/setup.py#L33:
'cl_napalm_configure=napalm.clitools.cl_napalm_configure:main',

The clitools exist in napalm_base, so I believe it should be removed from the napalm repo, and fixed in the napalm-base repo.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant