forked from djbios/zipfly
-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.py
47 lines (42 loc) · 1.52 KB
/
setup.py
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
from setuptools import setup
import sys
import os
__version__ = '6.0.4'
CURRENT_PYTHON = sys.version_info[:2]
REQUIRED_PYTHON = (3,6)
# This check and everything above must remain compatible with Python 3.6
if CURRENT_PYTHON < REQUIRED_PYTHON:
sys.stderr.write("""
==========================
Unsupported Python version
==========================
This version of ZipFly requires Python {}.{}, but you're trying to
install it on Python {}.{}.
This may be because you are using a version of pip that doesn't
understand the python_requires classifier""".format(*(REQUIRED_PYTHON + CURRENT_PYTHON)))
sys.exit(1)
# 3.9
setup(
name='zipfly',
packages=['zipfly'],
description='ZipFly',
version=__version__,
url='http://github.com/buzonIO/zipfly',
download_url = f'https://github.com/BuzonIO/zipfly/archive/v{__version__}.tar.gz',
author='Buzon',
long_description=open('README.md').read(),
long_description_content_type='text/markdown',
author_email='support@buzon.io',
keywords=['zipfly','buzon'],
install_requires=[],
classifiers=[
'Development Status :: 5 - Production/Stable',
'Intended Audience :: Developers',
'Topic :: Software Development :: Build Tools',
'License :: OSI Approved :: MIT License',
'Programming Language :: Python :: 3.6',
'Programming Language :: Python :: 3.7',
'Programming Language :: Python :: 3.8',
'Programming Language :: Python :: 3.9',
],
)