-
Notifications
You must be signed in to change notification settings - Fork 4
Expand file tree
/
Copy pathsetup.py
More file actions
57 lines (52 loc) · 1.9 KB
/
setup.py
File metadata and controls
57 lines (52 loc) · 1.9 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
from setuptools import setup, find_packages
from setuptools.command.install import install
import subprocess
from pathlib import Path
class CustomInstallCommand(install):
def run(self):
install.run(self)
subprocess.check_call([
"pip", "install", "--no-deps", "--force-reinstall",
"chroma-hnswlib==0.7.3"
])
with open('requirements.txt') as f:
requirements = f.read().splitlines()
requirements = [req for req in requirements if not req.startswith('chroma-hnswlib')]
this_directory = Path(__file__).parent
long_description = (this_directory / "README.md").read_text(encoding="utf-8")
setup(
name='webwright',
version='0.0.5',
author='Kord Campbell',
author_email='kordless@gmail.com',
description="Webwright: The Ghost in Your Shell 👻💻",
long_description=long_description,
long_description_content_type="text/markdown",
url="https://github.com/MittaAI/webwright",
packages=find_packages(),
install_requires=requirements,
entry_points={
'console_scripts': [
'webwright = webwright.main:entry_point'
]
},
cmdclass={
'install': CustomInstallCommand,
},
license="MIT",
classifiers=[
"Development Status :: 3 - Alpha",
"Intended Audience :: Developers",
"Intended Audience :: System Administrators",
"License :: OSI Approved :: MIT License",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.7",
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Topic :: Software Development :: Libraries :: Python Modules",
"Topic :: System :: Shells",
"Topic :: Utilities",
],
keywords="ai terminal shell automation development tools",
)