0

I have an info.json file with the line:

"install_requires"   : {""   : []},

Assuming that this is where I put packages that my program relies on, how would I format it if I want it to rely on

python-redmine

version 0.8.3

Would it possibly be

"install_requires"   : {"python-redmine"   : [0.8.3]},
user1102901
  • 565
  • 1
  • 4
  • 12
  • I guess your question is already solved with this question [Refer this stack overflow question][1] [1]: http://stackoverflow.com/questions/6080646/install-requires-in-setup-py-depending-on-installed-python-version – sbpraveen34 Aug 07 '14 at 18:39
  • I looked into python setup.py, but it looks like the formatting is slightly different and I was hoping someone would be able to provide exactly how it should be formatted in json. (I'm not too familiar with json) – user1102901 Aug 07 '14 at 19:00

1 Answers1

0

Should be

"install_requires" : {"":["python-redmine==0.8.3"]},

user1102901
  • 565
  • 1
  • 4
  • 12