Functioning application with pip install -e .

This commit is contained in:
Journey McDowell 2020-08-24 10:18:55 -07:00
Родитель 5c6f00c8d4
Коммит 323524e4c6
3 изменённых файлов: 5 добавлений и 5 удалений

Просмотреть файл

@ -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

Просмотреть файл

@ -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()