Functioning application with pip install -e .
This commit is contained in:
Родитель
5c6f00c8d4
Коммит
323524e4c6
|
@ -69,7 +69,7 @@ The application will prompt you for responses, an example may look like the foll
|
|||
|
||||
```bash
|
||||
Is windows or linux required to run Simulator?: windows
|
||||
Directory of Simulator: sample/
|
||||
Directory of Simulator integration files: sample/
|
||||
What is the name of the file with microsoft bonsai api? (e.g., __main__.py): __main__.py
|
||||
Directory of requirements.txt: .
|
||||
Image Name (No underscores): my-first-sim
|
||||
|
|
2
setup.py
2
setup.py
|
@ -9,6 +9,6 @@ setup(
|
|||
"azure-cli==2.10.1",
|
||||
],
|
||||
entry_points={
|
||||
'console_scripts': ['sim-pack=.sim_packager:main'],
|
||||
'console_scripts': ['sim-pack=sim_packager:main'],
|
||||
}
|
||||
)
|
||||
|
|
|
@ -154,7 +154,7 @@ def main():
|
|||
else:
|
||||
platform = input('Is windows or linux required to run Simulator?: ')
|
||||
|
||||
sim_path = input("Directory of Simulator: ")
|
||||
sim_path = input("Directory of Simulator integration files: ")
|
||||
main_name = input("What is the name of the file with microsoft bonsai api? (e.g., __main__.py): ")
|
||||
|
||||
if args.language == 'python_api':
|
||||
|
@ -165,9 +165,9 @@ def main():
|
|||
else:
|
||||
print('Please type in correct OS type')
|
||||
exit()
|
||||
|
||||
req_path = input("Directory of requirements.txt: ")
|
||||
shutil.copy(req_path+'/requirements.txt', sim_path)
|
||||
if not os.path.isfile(req_path+'/requirements.txt'):
|
||||
shutil.copy(req_path+'/requirements.txt', sim_path)
|
||||
elif args.language == 'java_api':
|
||||
print('This path has not been programmed yet...')
|
||||
exit()
|
||||
|
|
Загрузка…
Ссылка в новой задаче