Skip to content

GitLab

  • Menu
Projects Groups Snippets
    • Loading...
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
  • Sign in
  • D django-remote-submission
  • Project information
    • Project information
    • Activity
    • Labels
    • Planning hierarchy
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
    • Locked Files
  • Issues 2
    • Issues 2
    • List
    • Boards
    • Service Desk
    • Milestones
    • Iterations
  • Merge requests 0
    • Merge requests 0
  • 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
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • reflectometry
  • django-remote-submission
  • Issues
  • #21

Closed
Open
Created Feb 03, 2017 by Borreguero Calvo, Jose@jbqMaintainer

Look into way to synchronize setup.py and requirements.txt

Created by: player1537

  • Django Remote Submission version: 0.6.0
  • Django version: n/a
  • Python version: n/a
  • Operating System: n/a

Description

While making changes to fix #11 (closed), I realized that it's very easy for the requirements that setup.py lists to become out of sync with the ones in requirements.txt. I noticed that we've actually been missing Django Rest Framework in setup.py for a while.

I know some other projects use some code to parse the requirements file into install_requires to keep them in sync. I'm not sure the tradeoffs, though, so I'll need to look into that some.

I'm also not clear what the best method is to have an optional dependency in setup.py. For example, the library doesn't require Celery (because it can use some fallback behavior), but it does support Celery.

Assignee
Assign to
Time tracking