GeezerVisonThe World Wide Web, restored to 800 pixels of glory. |
| Home|About|Gaming cabinet|Archives|How it works|Starter sites |
GeezerVison is showing github.com — deepdiff/setup.py at master · benthomasson/deepdiff Expand file tree/ Copy pathsetup.pyMore file actions executable file ·61 lines (51 loc) · 1.99 KB / Copy pathsetup.pyFile metadata and controlsexecutable file ·61 lines (51 loc) · 1.99 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 55 56 57 58 59 60 61 import os import sys from setuptools import setup if sys.version_info.major == 2: # pragma: no cover sys.exit('Python 2 is not supported anymore. The last version of DeepDiff that supported Py2 was 3.3.0') # if you are not using vagrant, just delete os.link directly, # The hard link only saves a little disk space, so you should not care if os.environ.get('USER', '') == 'vagrant': del os.link version = '5.0.2' def get_reqs(filename): with open(filename, "r") as reqs_file: reqs = reqs_file.readlines() reqs = list(map(lambda x: x.replace('==', '>='), reqs)) return reqs reqs = get_reqs("requirements.txt") with open('README.md') as file: long_description = file.read() setup(name='deepdiff', version=version, description='Deep Difference and Search of any Python object/data.', url='https://github.com/seperman/deepdiff', download_url='https://github.com/seperman/deepdiff/tarball/master', author='Seperman', license='MIT', packages=['deepdiff'], zip_safe=True, test_suite="tests", include_package_data=True, tests_require=['mock'], # 'numpy==1.11.2' numpy is needed but comes already installed with travis long_description=long_description, long_description_content_type='text/markdown', install_requires=reqs, python_requires='>=3.5', extras_require={ "murmur": ["mmh3"], }, classifiers=[ "Intended Audience :: Developers", "Operating System :: OS Independent", "Topic :: Software Development", "Programming Language :: Python :: 3.5", "Programming Language :: Python :: 3.6", "Programming Language :: Python :: 3.7", "Programming Language :: Python :: 3.8", "Programming Language :: Python :: Implementation :: PyPy", "Development Status :: 5 - Production/Stable", "License :: OSI Approved :: MIT License" ], ) |
| You are visitor 01402792 — GeezerVison does not store the pages you look up. Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required. |