Skip to content

Commit

Permalink
mostly working dev version
Browse files Browse the repository at this point in the history
  • Loading branch information
thejoltjoker committed Apr 15, 2023
1 parent 592f52c commit e831e82
Show file tree
Hide file tree
Showing 18 changed files with 1,377 additions and 0 deletions.
21 changes: 21 additions & 0 deletions LICENSE
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
MIT License

Copyright (c) 2023 Johannes Andersson

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.
13 changes: 13 additions & 0 deletions Pipfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
[[source]]
url = "https://pypi.org/simple"
verify_ssl = true
name = "pypi"

[packages]
pyside2 = "*"

[dev-packages]

[requires]
python_version = "3.7"
python_full_version = "3.7.7"
46 changes: 46 additions & 0 deletions Pipfile.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

12 changes: 12 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
# ChatGPT for Maya

This plugin allows you to chat with ChatGPT from within Maya.

## Installation

1. Start by adding the path to this repository to your `PYTHONPATH` environment variable.
2. Then add the path to the _plugin_ folder to `MAYA_PLUG_IN_PATH` environment variable.
3. While you're at it, you might as well add your OpenAI API key to the environment as well. `OPENAI_API_KEY`
4. Next up is to add the path to the folder containing the `openai` package.
- In my case it resides in a virtual environment
here:```C:/Users/johannes/.virtualenvs/ChatGPTforMaya-XXZNZ0Rg/lib/site-packages/```
Empty file added chatgpt4maya/__init__.py
Empty file.
Loading

0 comments on commit e831e82

Please sign in to comment.