-
Notifications
You must be signed in to change notification settings - Fork 157
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
‣ Move 'conf' directory under 'readmeai' to fix PyPI installation.
- Loading branch information
Showing
17 changed files
with
283 additions
and
268 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,22 +1,26 @@ | ||
# Exclude markdown files | ||
*.md | ||
|
||
# Exclude lock and toml files | ||
poetry.lock | ||
pyproject.toml | ||
# Git and GitHub metadata | ||
.git/ | ||
.gitignore | ||
CODE_OF_CONDUCT.md | ||
CONTRIBUTING.md | ||
Makefile | ||
CHANGELOG.md | ||
|
||
# Exclude all .pyc files | ||
**/__pycache__ | ||
|
||
# Exclude all test-related files | ||
# Build artifacts | ||
dist/ | ||
*.tar.gz | ||
*.whl | ||
|
||
# Test and setup scripts | ||
tests/ | ||
setup/ | ||
scripts/ | ||
|
||
# Exclude unnecessary directories and files | ||
CHANGELOG.md | ||
CODE_OF_CONDUCT.md | ||
CONTRIBUTING.md | ||
LICENSE | ||
Makefile | ||
# Jupyter notebooks | ||
notebooks/ | ||
|
||
# Example files | ||
examples/ | ||
setup/environment.yaml |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -4,17 +4,18 @@ build-backend = "poetry.core.masonry.api" | |
|
||
[tool.poetry] | ||
name = "readmeai" | ||
version = "0.1.6" | ||
version = "0.2.3" | ||
description = "🚀 Generate awesome README.md files from the terminal, powered by OpenAI's GPT language model APIs 💫" | ||
authors = ["Eli <[email protected]>"] | ||
license = "MIT" | ||
readme = "README.md" | ||
homepage = "https://github.com/eli64s/readme-ai" | ||
documentation = "https://github.com/eli64s/readme-ai/blob/main/README.md" | ||
keywords = [ | ||
"markdown", | ||
"readme", | ||
"python-cli", | ||
"readme-template", | ||
"shieldsio", | ||
"readme-md", | ||
"awesome-readme", | ||
"readme-generator", | ||
|
@@ -24,23 +25,18 @@ keywords = [ | |
"auto-readme", | ||
"gpt-4", | ||
"llms", | ||
"awesome-chatgpt", | ||
"openai-python", | ||
"chatgpt-python", | ||
"openai-chatbot", | ||
"gpt-35-turbo", | ||
"gpt-4-api", | ||
"openai-cli", | ||
"llm-prompting", | ||
"llm-agent", | ||
"llm-agent" | ||
] | ||
include = ["readmeai", "readmeai.*"] | ||
|
||
[tool.poetry.dev-dependencies] | ||
black = "*" | ||
flake8 = "*" | ||
isort = "*" | ||
pytest = "*" | ||
pytest-cov = "*" | ||
pre-commit = "*" | ||
ruff = "*" | ||
[tool.poetry.scripts] | ||
readmeai = "readmeai.main:cli" | ||
|
||
[tool.poetry.dependencies] | ||
python = "^3.8.1" | ||
|
@@ -59,8 +55,14 @@ toml = "^0.10.2" | |
pydantic = "^1.10.9" | ||
click = "^8.1.6" | ||
|
||
[tool.poetry.scripts] | ||
readmeai = "readmeai.main:cli" | ||
[tool.poetry.dev-dependencies] | ||
black = "*" | ||
flake8 = "*" | ||
isort = "*" | ||
pytest = "*" | ||
pytest-cov = "*" | ||
pre-commit = "*" | ||
ruff = "*" | ||
|
||
[tool.ruff] | ||
line-length = 88 | ||
|
@@ -75,6 +77,7 @@ extend-select = [ | |
"PTH", # flake8-use-pathlib | ||
"SIM", # flake8-simplify | ||
"TID", # flake8-tidy-imports | ||
|
||
] | ||
|
||
[tool.ruff.isort] | ||
|
@@ -84,13 +87,6 @@ split-on-trailing-comma = false | |
[tool.ruff.flake8-tidy-imports] | ||
ban-relative-imports = "all" | ||
|
||
[tool.isort] | ||
profile = "black" | ||
line_length = 88 | ||
multi_line_output = 3 | ||
include_trailing_comma = true | ||
virtual_env = ["venv", ".venv", "env", ".env", ".tox", ".nox"] | ||
|
||
[tool.pytest.ini_options] | ||
testpaths = ["tests"] | ||
python_files = "test_*.py" | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -145,4 +145,4 @@ files = [ | |
".gitignore", | ||
".whitesource", | ||
".prettierrc", | ||
] | ||
] |
File renamed without changes.
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -9655,4 +9655,4 @@ | |
"https://img.shields.io/badge/Zyte-B02CCE.svg?style&logo=Zyte&logoColor=white", | ||
"B02CCE" | ||
] | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
#!/usr/bin/env bash | ||
|
||
set -e | ||
|
||
bash scripts/clean.sh | ||
|
||
python -m build | ||
|
||
twine upload --verbose --repository-url https://upload.pypi.org/legacy/ -u __token__ -p $PYPI_API_KEY dist/* | ||
|
||
echo "Successfully pushed new readmeai package to PyPI!" |