Successfully reported this slideshow.
We use your LinkedIn profile and activity data to personalize ads and to show you more relevant ads. You can change your ad preferences anytime.

Setup.pysetup.cfg

1,130 views

Published on

Published in: Technology, Education
  • Be the first to comment

Setup.pysetup.cfg

  1. 1. setup.py/setup.cfg
  2. 2. setup.pytests_require = ["nose", "coverage", "webtest"]setup( tests_require=tests_require, extras_require={ "testing": tests_require, "docs": ["sphinx"], },)
  3. 3. これまでのおまいらpip install -e .cat > requirements.txtnosecoveragesphinx^Dpip install -r requirements.txt
  4. 4. setup.cfg[aliases]dev = develop easy_install hoge[testing] hoge[docs]
  5. 5. これからのおまいらpython setup.py dev
  6. 6. まとめextras_requireは便利だね!

×