Compare commits

..

No commits in common. "3d6c45f2b4a35b2c8e3d3ea6325a48271ca350c0" and "e769f27957389e0d547fb26b2e59df76725cb8d0" have entirely different histories.

2 changed files with 5 additions and 15 deletions

View File

@ -10,15 +10,7 @@
This project requires [Python](https://www.python.org/) 3.8 or newer.
All required libraries can be installed easily using:
```bash
pip install -r requirements.txt
```
Full list of requirements:
- [prompt_toolkit](https://pypi.org/project/prompt_toolkit/)
- [langgraph](https://pypi.org/project/langgraph/)
This project does not have any library requirements 😎
## Contributing

View File

@ -14,21 +14,19 @@ PACKAGE_DESCRIPTION = """
PACKAGE_DESCRIPTION_SHORT = """
""".strip()
def parse_version_file(text: str) -> str:
text = re.sub('^#.*', '', text, flags=re.MULTILINE)
match = re.match(r'^\s*__version__\s*=\s*(["\'])([\d\.]+)\1$', text)
match = re.match(r'^__version__\s*=\s*(["\'])([\d\.]+)\1$', text)
if match is None:
msg = 'Malformed _version.py file!'
raise Exception(msg)
return match.group(2)
with open(PACKAGE_NAME + '/_version.py') as f:
version = parse_version_file(f.read())
REQUIREMENTS_MAIN = [
'prompt_toolkit',
'langgraph',
]
REQUIREMENTS_MAIN = []
REQUIREMENTS_TEST = []
setup(