import sys

from setuptools import setup


requirements = ['Click', 'Jinja2']

if 'win32' in sys.platform.lower():
    # Windows needs colorama for the terminal colors to work.
    requirements.append('colorama')

setup(
    name='EasyEuler',
    version='0.1',
    py_modules=['EasyEuler'],
    install_requires=requirements,
    entry_points='''
        [console_scripts]
        easyeuler=EasyEuler.cli:cli
    '''
)

from setuptools import setup

setup(
    name='EasyEuler',
    version='0.1',
    py_modules=['EasyEuler'],
    install_requires=[
        'Click',
        'Jinja2'
    ],
    entry_points='''
        [console_scripts]
        easyeuler=EasyEuler.cli:cli
    '''
)

--- 
+++ 
@@ -1,13 +1,19 @@
+import sys
+
 from setuptools import setup
+
+
+requirements = ['Click', 'Jinja2']
+
+if 'win32' in sys.platform.lower():
+    # Windows needs colorama for the terminal colors to work.
+    requirements.append('colorama')
 
 setup(
     name='EasyEuler',
     version='0.1',
     py_modules=['EasyEuler'],
-    install_requires=[
-        'Click',
-        'Jinja2'
-    ],
+    install_requires=requirements,
     entry_points='''
         [console_scripts]
         easyeuler=EasyEuler.cli:cli
Add colorama to requirements for Windows
