forked from Suman7495/Tzara---A-Personal-Assistant
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsetup.py
27 lines (23 loc) · 856 Bytes
/
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
from setuptools import setup
from setuptools.command.install import install
import os
class MyInstall(install):
def run(self):
install.run(self)
path = os.getcwd().replace(" ", "\ ").replace("(","\(").replace(")","\)") + "/bin/"
os.system("chmod +x "+path+"startup.sh")
os.system("sh "+path+"startup.sh")
setup(name='Tzara---A-Personal-Assistant',
version='1.1.5',
description='A Virtual Personal Assistant',
url='https://github.com/Suman7495/Tzara---A-Personal-Assistant',
author='Suman Pal',
author_email='suman7495@gmail.com',
license='MIT',
packages=['tzara'],
classifiers=['Development Status :: 4 - Beta',
'Programming Language :: Python :: 2.7',
],
scripts=['bin/startup.sh'],
cmdclass={'install': MyInstall},
)