You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
if add_new=True, a generator will be made of all top tree dependencies - filtered by only non existing packages in setup.py. Then, add them (by regex, maybe AST in the future) to install_requires by the following logic:
search for install_requires=
search for the next comma that isn't followed by quotes (for example: install_requires=['test', 'test2'], # THIS COMMA test_requires)
ask the user if he/she wants to add all non existing packages or loop through.
if all - just make a list from the generator and add before that comma. If it's a loop, loop through the generator, asking the user whether to add a specific package each time - make a list and add before that comma.
write to setup.py
The text was updated successfully, but these errors were encountered:
if add_new=True, a generator will be made of all top tree dependencies - filtered by only non existing packages in setup.py. Then, add them (by regex, maybe AST in the future) to install_requires by the following logic:
install_requires=
install_requires=['test', 'test2'], # THIS COMMA test_requires
)if all - just make a list from the generator and add before that comma. If it's a loop, loop through the generator, asking the user whether to add a specific package each time - make a list and add before that comma.
setup.py
The text was updated successfully, but these errors were encountered: