Setup.pysetup.cfg

1,050 views

Published on

Published in: Technology, Education
0 Comments
1 Like
Statistics
Notes
  • Be the first to comment

No Downloads
Views
Total views
1,050
On SlideShare
0
From Embeds
0
Number of Embeds
6
Actions
Shares
0
Downloads
2
Comments
0
Likes
1
Embeds 0
No embeds

No notes for slide

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は便利だね!

×