-
Notifications
You must be signed in to change notification settings - Fork 13
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 install destination #150
Conversation
Looks good. Here's the commit where I made the change to use src, which was a mistake in hindsight ff9a88d |
Jac, yea I'm not a setup.py expert and there might be a way to force the install dir, but comparing to the TSC project just renaming that top dir seemed the simplest solution here. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
* --save-db-password flag thinks it should get an argument * updated several other publishing arguments that had the same problem * change argument from "token" to "token-value" so it is not a substring of "token-name", remove the 2-letter short arguments * format a nice help output * TFS 1428581 publish project (#139) * groups and users fix * Update session.py (#141) * clearly indicate when using the default site * Jac/tfs 1428582 create edit site (#146) * Getting workbook works as expected, but appends extra file extensions * Fix get view, get csv (#143) * Change install destination (#150) * Jac/publish to folder gives an error (#145) * Jac/delete command can't find item (#144) * filter for items in project * separate the use of ds/wb as flags vs as argument names * update publish_samples to call shared project logic * Add command to list items of a given content type (#153) Co-authored-by: Brian Cantoni <bcantoni@salesforce.com> Co-authored-by: Bhuvnesh Singh <bhuvnesh.singh@salesforce.com>
* --save-db-password flag thinks it should get an argument *updated several other publishing arguments that had the same problem * change argument from "token" to "token-value" so it is not a substring of "token-name", remove the 2-letter short arguments * fix reencrypt_extracts help string * Hand format a nice help output * Fix exit_with_error handling * Defect 1426885: [Tabcmd WAM] addusers and removeusers error * fix deletegroup * update unlocalized strings * clearly indicate when using the default site * Fix export success log message params (#142) * Jac/tfs 1428582 create edit site (#146) * Getting workbook works as expected, but appends extra file extensions * Fix get view, get csv (#143) * Change install destination (#150) * Defect 1428581: [Tabcmd WAM] Publishing to projects other than default throws an error * Jac/delete command (#144) * filter for items in project * separate the use of ds/wb as flags vs as argument names * update publish_samples to call shared project logic * Add command to list items of a given content type (#153) * make export use filters, add tests (#164) * Add trace logging details and error stack * handle url input more robustly Co-authored-by: Brian Cantoni <bcantoni@salesforce.com> Co-authored-by: Bhuvnesh Singh <bhuvnesh.singh@salesforce.com>
Dropped support for python < 3.9 Changed argument from "token" to "token-value" so it is not a substring of "token-name", remove the 2-letter short arguments Release 2.0.6 * add step to list dependencies for licensing * Defect 1427376: [Tabcmd WAM] --save-db-password flag thinks it should get an argument (#134) * Fix exit_with_error handling (#137) * TFS 1428581 publish project (#139) * Defect 1426885: [Tabcmd WAM] addusers and removeusers error, fix deletegroup (#140) * clearly indicate when using the default site (#141) * Fix export success log message params (#142) * Jac/tfs 1428582 create edit site (#146) * Fix get view, get csv file extensions (#143) * Change install destination to /tabcmd instead of /src (#150) * Defect 1428581: [Tabcmd WAM] Publishing to projects other than default throws an error (#145) * Jac/delete command (#144) * Jac/e2e test workflow (#154) * Add command to list items of a given content type (#153) * make export use filters, add tests (#164) * Fix some e2e tests (#166) * Trace logging and bug fix (#165) Release 2.0.7 * Implement command line and url parameters for get/export (#175) * recognize more values for yes on command line (#173) * fully port to pyproject.toml (#182) * implement pdf layout/page type (#184, #169) * tfs 1427025: Confusing error message related to sign-in (#187), (#190) * stop duplicate logging in session * extract encryption defaults to false (#193) * call sites endpoint correctly (#194) * publish data source to Tableau Cloud for published live connection with Tableau Bridge (#195) Co-authored-by: Brian Cantoni <bcantoni@salesforce.com> Co-authored-by: Bhuvnesh Singh <bhuvnesh.singh@salesforce.com>
* Rename src dir to tabcmd so that setup.py install will go to the 'tabcmd' destination directory * Update references in scripts and code to reflect src-->tabcmd
Investigating some changes to fix the install destination directory (internal issue 1427046).
Before (tabcmd src dir appears directly under site-packages):
$ find ~/.pyenv/versions/3.9.0/envs/3.9-tools -name publish_command.py
/Users/bcantoni/.pyenv/versions/3.9.0/envs/3.9-tools/lib/python3.9/site-packages/src/commands/datasources_and_workbooks/publish_command.py
After (all tabcmd is under site-packages/tabcmd):
$ find ~/.pyenv/versions/3.9.0/envs/3.9-tools -name publish_command.py
/Users/bcantoni/.pyenv/versions/3.9.0/envs/3.9-tools/lib/python3.9/site-packages/tabcmd/commands/datasources_and_workbooks/publish_command.py