-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathsetup.py
More file actions
86 lines (81 loc) · 2.59 KB
/
setup.py
File metadata and controls
86 lines (81 loc) · 2.59 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
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
from setuptools import setup, find_packages
from setuptools.command.install import install
with open("README.md", "r", encoding="utf-8") as fh:
long_description = fh.read()
class PostInstallCommand(install):
"""Post-installation for installation mode."""
def run(self):
install.run(self)
# Install completion automatically
try:
from devkit.install_completion import install_completion
install_completion()
except Exception:
# Don't fail installation if completion setup fails
pass
setup(
name='devkit-cli',
version='0.1.0',
description='AI-powered terminal assistant for developers',
long_description=long_description,
long_description_content_type="text/markdown",
author='sravya',
author_email='m3l0dy.144@gmail.com',
url='https://github.com/flurry101/devkit',
packages=find_packages(),
install_requires=[
'click>=8.0.0',
'colorama>=0.4.0',
'rich>=13.0.0',
'terminaltexteffects',
'prompt-toolkit>=3.0.0',
],
extras_require={
'ai': ['google-generativeai>=0.3.0'],
'dev': [
'pytest>=7.0.0',
'black>=22.0.0',
'flake8>=4.0.0',
'build>=0.8.0',
'twine>=4.0.0',
],
},
entry_points={
'console_scripts': [
'devkit=devkit.main:cli',
],
},
cmdclass={
'install': PostInstallCommand,
},
include_package_data=True,
package_data={
'devkit': [
'_bash_completion.sh',
'_zsh_completion.sh',
],
},
python_requires='>=3.8',
classifiers=[
'Development Status :: 4 - Beta',
'Intended Audience :: Developers',
'Topic :: Software Development',
'Topic :: System :: Shells',
'Topic :: Utilities',
'License :: OSI Approved :: MIT License',
'Programming Language :: Python :: 3',
'Programming Language :: Python :: 3.8',
'Programming Language :: Python :: 3.9',
'Programming Language :: Python :: 3.10',
'Programming Language :: Python :: 3.11',
'Programming Language :: Python :: 3.12',
'Operating System :: OS Independent',
'Environment :: Console',
],
keywords='cli developer-tools ai terminal productivity git devops snippets time-travel debugging',
project_urls={
'Bug Reports': 'https://github.com/flurry101/devkit/issues',
'Source': 'https://github.com/flurry101/devkit',
'Documentation': 'https://github.com/flurry101/devkit#readme',
},
)