Compare commits
No commits in common. "3d6c45f2b4a35b2c8e3d3ea6325a48271ca350c0" and "e769f27957389e0d547fb26b2e59df76725cb8d0" have entirely different histories.
3d6c45f2b4
...
e769f27957
10
README.md
10
README.md
|
@ -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
|
||||
|
||||
|
|
10
setup.py
10
setup.py
|
@ -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(
|
||||
|
|
Loading…
Reference in New Issue
Block a user