Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Distinguish between python package for generator and generated code #4

Closed
ashutshkumr opened this issue Jan 14, 2021 · 1 comment
Closed
Labels
enhancement New feature or request

Comments

@ashutshkumr
Copy link
Contributor

ashutshkumr commented Jan 14, 2021

  • Put generator dependencies in requirements.txt or setup.py
  • setup.py currently present in project dir should identify package snappi-gen and not snappi itself
  • New setup.py should be generated (or duplicated from existing), which should be called snappi and include dependecies for generated code
  • Generated code should be copied to be a separate directory (and hence snappicommon.py + other existing files should be copied to dir containing generated code)
  • Generated code should also include .yaml or .json spec

#1 and #2 are subject to further discussion (if separate snappi-gen package is not desired).

@ashutshkumr ashutshkumr added the enhancement New feature or request label Jan 14, 2021
@ashutshkumr ashutshkumr added this to Backlog in Stabilize via automation Jan 14, 2021
@ashutshkumr ashutshkumr removed this from Backlog in Stabilize Apr 6, 2021
@Rangababu-R
Copy link
Contributor

all are addressed by openapiart and this issue is no more valid

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants