Comments (3)
Can you make sure you're showing me the exact same input and output that you're seeing in a terminal?
$ python melpazoid /path/to/my/openai/ '(openai :fetcher github :repo "emacs-openai/openai")'
won't work in most cases (there is no .py extension, and the melpazoid dir does not contain a `main.py file). Also when it's run as a script, melpazoid wants your cwd to be the melpazoid root dir. What I think you are typing and seeing must be closer to:
$ python melpazoid/melpazoid.py /path/to/my/openai/ '(openai :fetcher github :repo "emacs-openai/openai")'
usage: melpazoid.py [-h] [--license] [--recipe RECIPE] [target]
melpazoid.py: error: argument target: '/path/to/my/openai/' must be a MELPA PR or local path
Per the above help message, for a local repo you want to use melpazoid.py --recipe RECIPE target
$ python melpazoid/melpazoid.py /path/to/my/openai/ --recipe '(openai :fetcher github :repo "emacs-openai/openai")'
(i.e. add the --recipe
flag before the recipe itself)
from melpazoid.
Here is the full output directly copied from the terminal. I've tried a different kind of input (with or without quotes, change the order, etc.). 🤔
PS D:\_workspace\_eask\melpazoid> python .\melpazoid\melpazoid.py 'D:/_workspace/_eask/openai' '(openai :fetcher github :repo "emacs-openai/openai")'
usage: melpazoid.py [-h] [--license] [--recipe RECIPE] [target]
melpazoid.py: error: unrecognized arguments: (openai :fetcher github :repo emacs-openai/openai)
PS D:\_workspace\_eask\melpazoid> python .\melpazoid\melpazoid.py 'D:/_workspace/_eask/openai' --recipe '(openai :fetcher github :repo "emacs-openai/openai")'
usage: melpazoid.py [-h] [--license] [--recipe RECIPE] [target]
melpazoid.py: error: argument --recipe: '(openai :fetcher github :repo emacs-openai/openai)' must be a valid MELPA recipe
PS D:\_workspace\_eask\melpazoid> python .\melpazoid\melpazoid.py --recipe '(openai :fetcher github :repo "emacs-openai/openai")' 'D:/_workspace/_eask/openai'
usage: melpazoid.py [-h] [--license] [--recipe RECIPE] [target]
melpazoid.py: error: argument --recipe: '(openai :fetcher github :repo emacs-openai/openai)' must be a valid MELPA recipe
PS D:\_workspace\_eask\melpazoid> python .\melpazoid\melpazoid.py --recipe '(openai :fetcher github :repo "emacs-openai/openai")' D:\_workspace\_eask\openai\
usage: melpazoid.py [-h] [--license] [--recipe RECIPE] [target]
melpazoid.py: error: argument --recipe: '(openai :fetcher github :repo emacs-openai/openai)' must be a valid MELPA recipe
PS D:\_workspace\_eask\melpazoid> python .\melpazoid\melpazoid.py --recipe (openai :fetcher github :repo "emacs-openai/openai") D:\_workspace\_eask\openai\
usage: openai [-h] [-V] [-v] [-b API_BASE] [-k API_KEY] [-p PROXY [PROXY ...]]
[-o ORGANIZATION]
{api,tools,wandb} ...
openai: error: argument {api,tools,wandb}: invalid choice: ':fetcher' (choose from 'api', 'tools', 'wandb')
usage: melpazoid.py [-h] [--license] [--recipe RECIPE] [target]
melpazoid.py: error: argument --recipe: 'D:\\_workspace\\_eask\\openai\\' must be a valid MELPA recipe
Also when it's run as a script, melpazoid wants your cwd to be the melpazoid root dir
I'm in the melpazoid root dir.
(there is no .py extension
Sorry for the confusion. I did input .py
extension!
, and the melpazoid dir does not contain a `main.py file)
Do you mean setup.py
? Where is the main.py
file? 🤔
from melpazoid.
FYI, I've added partial melpazoid support in Eask, see emacs-eask/cli#202.
from melpazoid.
Related Issues (20)
- Check for existing packages by the same name HOT 3
- Add support for local builds HOT 1
- Using only the license checker HOT 6
- Mention compilation features in docs HOT 1
- Sharp-quoting inside define-obsolete-function-alias forms HOT 1
- Setting LOCAL_REPO in the GitHub Actions workflow HOT 2
- Conflict on installing requirements.txt HOT 2
- Issue with pkg-info erroring on present package-lint HOT 1
- Suggest using %F for `%Y-%m-%d`[uppercased y] time string only HOT 2
- file-missing Searching for program: "No such file or directory git" HOT 1
- meta: support for podman HOT 8
- Deprecated warnings for melpazoid actions HOT 1
- Warning: docstring has wrong usage of unescaped single quote HOT 2
- [FEATURE] Warn when package references external private symbols HOT 1
- Warning even when fset is used to define a prefix command HOT 1
- update setup-python version HOT 4
- Add AUR package
- [feature request] Print line in code for lints and diagnostics
- Checking homepage URLs HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from melpazoid.