Skip to content

GitLab

  • Menu
Projects Groups Snippets
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
  • Sign in
  • fts-rest-flask fts-rest-flask
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
    • Locked Files
  • Issues 0
    • Issues 0
    • List
    • Boards
    • Service Desk
    • Milestones
    • Iterations
  • Jira
    • Jira
  • Merge requests 4
    • Merge requests 4
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Monitor
    • Monitor
    • Incidents
  • Packages & Registries
    • Packages & Registries
    • Package Registry
    • Container Registry
    • Infrastructure Registry
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Code review
    • Issue
    • Repository
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • File Transfer Service
  • fts-rest-flaskfts-rest-flask
  • Merge requests
  • !80

Merged
Created Feb 19, 2021 by Christophe Haen@chaenContributor

Repackage a bit differently

  • Overview 3
  • Commits 5
  • Pipelines 2
  • Changes 16

This MR proposes to re-package a bit to follow more closely https://www.python.org/dev/peps/pep-0517/ Mostly what it does is to move from setup.py to setup.cfg as well as a couple of other changes:

  • Use fts3-rest (the existing name) as package name, since the API are the same. It helps the migration. Alternatively, the name fts3 is available on pypi (https://pypi.org/project/fts3/) so you could align the module import name and the package name
  • The version number is managed by setuptools_scm instead of being handled manually, so it is aligned with gitlab tags
  • Replace the scripts with proper console entrypoints, at the cost of moving src/cli to src/fts3/sripts and replacing - with _

The RPM build are failing because of moving these scripts. However, I am not quite sure that they are still useful, nor what they are supposed to ship exactly, so I'd rather let the massaging to you :-)

These MR was initiated by feedback from @cburr

Assignee
Assign to
Reviewer
Request review from
Time tracking
Source branch: packaging