Skip to content

Instantly share code, notes, and snippets.

@foxmask
Created October 8, 2017 14:31
Show Gist options
  • Save foxmask/c0b462f0c3c24a114a43905158542cb9 to your computer and use it in GitHub Desktop.
Save foxmask/c0b462f0c3c24a114a43905158542cb9 to your computer and use it in GitHub Desktop.
setup.cfg pas dry et qui marche
install_requires=
djangorestframework==3.6.4
Django<2.0
django-formtools==2.0
arrow==0.10.0
django-js-reverse==0.7.3
django-redis==4.7.0
requests-oauthlib==0.8.0
pypandoc==1.3.3
flake8==3.3.0
django-environ==0.4.4
[options.extras_require]
evernote=
evernote3
pytidylib==0.3.2
github=
github3.py==1.0.0a4
instapush=
instapush==0.1.2
mastodon=
Mastodon.py==1.1.1
pelican=
awesome-slugify==1.6.5
pocket=
pocket==0.3.6
pushbullet=
pushbullet.py==0.10.0
rss=
feedparser==5.2.1
taiga=
python-taiga==0.8.6
todoist=
todoist-python==7.0.15
trello=
py-trello==0.9.0
pytz==2016.10
twitter=
twython==3.6.0
wallabag=
wallabag_api==1.1.0
all=
evernote3
pytidylib==0.3.2
github3.py==1.0.0a4
instapush==0.1.2
Mastodon.py==1.1.1
awesome-slugify==1.6.5
pocket==0.3.6
pushbullet.py==0.10.0
feedparser==5.2.1
python-taiga==0.8.6
todoist-python==7.0.15
py-trello==0.9.0
pytz==2016.10
twython==3.6.0
wallabag_api==1.1.0
min=
feedparser==5.2.1
wallabag_api==1.1.0
@foxmask
Copy link
Author

foxmask commented Oct 8, 2017

un setup.cfg que j'aimerai faire ressemblant à https://github.com/foxmask/django-th/blob/master/setup.py
ici ca marche pas car python tente de télécharger "evernote" (depuis [options.extras_require] quand on fait pip install foobar[all])

install_requires=
    djangorestframework==3.6.4
    Django<2.0
    django-formtools==2.0
    arrow==0.10.0
    django-js-reverse==0.7.3
    django-redis==4.7.0
    requests-oauthlib==0.8.0
    pypandoc==1.3.3
    flake8==3.3.0
    django-environ==0.4.4

[options.extras_require]
evernote=
    evernote3
    pytidylib==0.3.2

github=
    github3.py==1.0.0a4

instapush=
    instapush==0.1.2

mastodon=
    Mastodon.py==1.1.1

pelican=
    awesome-slugify==1.6.5

pocket=
    pocket==0.3.6

pushbullet=
    pushbullet.py==0.10.0

rss=
    feedparser==5.2.1

taiga=
    python-taiga==0.8.6

todoist=
    todoist-python==7.0.15

trello=
    py-trello==0.9.0
    pytz==2016.10

twitter=
    twython==3.6.0

wallabag=
    wallabag_api==1.1.0

all=
    evernote
    github
    instapush
    mastodon
    pocket
    pushbullet
    rss
    taiga
    todoist
    trello
    twython
    wallabag

min=
   rss
    wallabag

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