Commit fa9f481b authored by Nathan Graule's avatar Nathan Graule 💻
Browse files

Add requirements, with optional typing module for Python 2

parent 76be7bdf
Pipeline #27344282 failed with stages
in 2 minutes and 32 seconds
import unittest
import sys
from setuptools import setup
def get_requirements():
requirements = [] # TODO: Get from Pipfile
if sys.version_info[0] == 2:
requirements.append('typing')
return requirements
def readme():
with open('README.rst', mode='r') as f:
return f.read()
......@@ -22,6 +30,7 @@ setup(
author='Nathan Graule',
author_email='solarliner@gmail.com',
description='Thread-based, JS-like asynchronous calls for Python.',
install_requires=get_requirements(),
long_description=readme(),
classifiers=[
'Development Status :: 3 - Alpha',
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment