-
-
Notifications
You must be signed in to change notification settings - Fork 13
/
setup.py
63 lines (56 loc) · 1.55 KB
/
setup.py
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
######################################################################
# SETUP #
######################################################################
from setuptools import setup, find_packages
from getpass import getuser
from sys import platform
import os
user = getuser()
def run():
if platform == 'linux':
os.system(f'echo "export PATH="/home/{user}/.local/bin:$PATH"" >> ~/.bashrc')
run()
setup(
name = 'electric',
version = '1.0.0',
description= 'The Official Package Manager For Windows, MacOS and Linux!',
url='https://github.com/XtremeDevX/Electric-Windows',
author = 'XtremeDevX',
author_email = '[email protected]',
py_modules=['electric'],
packages=find_packages(),
scripts=[os.path.join(os.path.abspath(os.getcwd()), 'src', 'electric.py')],
install_requires = [
'click',
'progress',
'requests',
'keyboard',
'colorama',
'click_didyoumean',
'virustotal-api',
'switch',
'click_didyoumean',
'click_completion',
'mslex',
'halo',
'cursor',
'google',
'prompt-toolkit',
'py7zr',
'pywin32',
'patool',
'tqdm',
'pygments',
'pyyaml'
],
package_dir={'': 'src'},
entry_points =
'''
[console_scripts]
electric=electric:cli
''',
classifiers=[
"License :: OSI Approved :: Apache License 2.0",
"Operating System :: OS Independent",
]
)