Skip to content

Package project #7

Closed
Closed

Description

@sarthakgupta072

Create the necessary files for uploading the project to PyPI (setup.py and possibly MANIFEST.in and setup.cfg)

Activity

  1. uniqueg commented on Feb 10, 2020

    @uniqueg
    Member

    You can have a look at TEStribute's setup.py file for a more or less reasonable template. Of course some of the tags and classifiers need to be updated.

  2. added
    flag: good 1st issue
    priority: high
    type: delivery
    workload: hours
    on Feb 10, 2020
  3. sarthakgupta072 commented on Mar 14, 2020

    @sarthakgupta072
    MemberAuthor

    @uniqueg
    I think we need to change the repo name. archetype_flask_connexion?
    The style guide doesn't allow hyphens. Moreover, it also discourages the use of underscore. But we can stay with it also.

    Also, flake8 gives errors because most of the time while writing an import statement, the line length becomes greater than 79 characters specified by flake8.

    For example:
    from archetype_flask_connexion.config.config_parser import YAMLConfigParser, get_conf is greater than 79 character. Can we ignore this?

    Reference: https://stackoverflow.com/questions/761519/is-it-ok-to-use-dashes-in-python-files-when-trying-to-import-them

  4. uniqueg commented on Mar 17, 2020

    @uniqueg
    Member

    Good point about the name - let's find something else. Doesn't have to be a prescriptive name. Can you come up with one? Doesn't need to be English and doesn't necessarily need to mean anything

    As for line lengths, you can write:

    from package import (
        module_1,
        ...
        module_n,
    )
    
  5. sarthakgupta072 commented on Mar 17, 2020

    @sarthakgupta072
    MemberAuthor

    What about?

    • ga4gh
    • ga4ghlib
    • ga4ghArchetype
    • elixiraii
    • elixirArchetype

    This seems like the hardest part. xD
    We can ask the community also if this also doesn't work. :P

  6. uniqueg commented on Mar 18, 2020

    @uniqueg
    Member

    I don't think it's really tied to either GA4GH or ELIXIR, it could totally be useful outside of these. How about fcoutils for Flask, Connexion and OpenAPI. Could be any other permutation of f, c and o also, or tools instead of utils. Or foca as in Flask, Connexion and OpenAPI archetype.

  7. sarthakgupta072 commented on Mar 18, 2020

    @sarthakgupta072
    MemberAuthor

    foca sounds great actually. And it's unique also.

  8. uniqueg commented on Mar 18, 2020

    @uniqueg
    Member

    And short. So let's go with this

  9. uniqueg commented on Mar 19, 2020

    @uniqueg
    Member

    Closed by #22

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Labels

flag: good 1st issuepriority: hightype: deliveryworkload: hours

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions