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

Fix Python package case #327

Closed
wants to merge 2 commits into from
Closed

Conversation

tangowithfoxtrot
Copy link
Contributor

Resolves issue with running python ./setup.py develop on Linux, where the package name is case-sensitive.

(.venv) [fedora@fedora python]$ python ./setup.py develop
running develop
/home/fedora/Documents/sdk/languages/python/.venv/lib64/python3.11/site-packages/setuptools/command/easy_install.py:144: EasyInstallDeprecationWarning: easy_install command is deprecated. Use build and pip and other standards-based tools.
  warnings.warn(
/home/fedora/Documents/sdk/languages/python/.venv/lib64/python3.11/site-packages/setuptools/command/install.py:34: SetuptoolsDeprecationWarning: setup.py install is deprecated. Use build and pip and other standards-based tools.
  warnings.warn(
running egg_info
creating BitwardenClient.egg-info
writing BitwardenClient.egg-info/PKG-INFO
writing dependency_links to BitwardenClient.egg-info/dependency_links.txt
writing top-level names to BitwardenClient.egg-info/top_level.txt
writing manifest file 'BitwardenClient.egg-info/SOURCES.txt'
error: package directory 'bitwardenclient' does not exist

The package spec looks for a bitwardenclient directory, which does not exist.

Type of change

  • Bug fix
  • New feature development
  • Tech debt (refactoring, code cleanup, dependency upgrades, etc)
  • Build/deploy pipeline (DevOps)
  • Other

Objective

Code changes

  • languages/python/setup.py: Use case-sensitive and correct name for the BitwardenClient Python package

Before you submit

  • Please add unit tests where it makes sense to do so (encouraged but not required)

Resolves issue with running `python ./setup.py develop` on Linux, where the package name is case-sensitive
@bitwarden-bot
Copy link

bitwarden-bot commented Nov 7, 2023

Logo
Checkmarx One – Scan Summary & Details4f2b05df-1ce3-42dd-b274-c3ff5b637f88

No New Or Fixed Issues Found

@tangowithfoxtrot tangowithfoxtrot deleted the fix-case-python-package branch November 27, 2023 18:23
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

Successfully merging this pull request may close these issues.

2 participants