-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathsetup.py
More file actions
54 lines (51 loc) · 2.03 KB
/
setup.py
File metadata and controls
54 lines (51 loc) · 2.03 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
from setuptools import setup
import sys
if sys.version_info < (3,0):
raise RuntimeError("This package requres Python 3.5+")
with open("README.md", 'r') as f:
long_description = f.read()
version = '1.0.9'
import os
if os.name == 'nt':
raise RuntimeError("This module is not currently supported on Windows...")
setup(
name='smartinput',
version=version,
python_requires='>=3',
description='Much better implementation of the python input function, with hints and history support.',
license="MIT",
long_description=long_description,
long_description_content_type='text/markdown',
author='Shivam Saini',
author_email='shivamsn97@gmail.com',
url='https://github.com/shivamsn97/smartinput',
packages=['smartinput'],
install_requires=['colorama==0.4.3'],
classifiers=[ 'Programming Language :: Python :: 3',
'Programming Language :: Python :: 3.5',
'Programming Language :: Python :: 3.6',
'Programming Language :: Python :: 3.7',
'Programming Language :: Python :: 3.8'
]
)
else:
setup(
name='smartinput',
version=version,
python_requires='>=3',
description='Much better implementation of the python input function, with hints and history support.',
license="MIT",
long_description=long_description,
long_description_content_type='text/markdown',
author='Shivam Saini',
author_email='shivamsn97@gmail.com',
url='https://github.com/shivamsn97/smartinput',
packages=['smartinput'],
install_requires=['colorama==0.4.3','getch==1.0'],
classifiers=[ 'Programming Language :: Python :: 3',
'Programming Language :: Python :: 3.5',
'Programming Language :: Python :: 3.6',
'Programming Language :: Python :: 3.7',
'Programming Language :: Python :: 3.8'
]
)