2018-03-07 22:54:13 -07:00
|
|
|
#!/usr/bin/env python
|
|
|
|
# -*- coding: utf-8 -*-
|
|
|
|
|
|
|
|
import os
|
|
|
|
|
|
|
|
from setuptools import find_packages, setup
|
|
|
|
|
|
|
|
here = os.path.abspath(os.path.dirname(__file__))
|
|
|
|
|
|
|
|
# Load the package's __version__.py module as a dictionary.
|
|
|
|
pkg = {}
|
|
|
|
with open(os.path.join(here, 'bison', '__version__.py')) as f:
|
|
|
|
exec(f.read(), pkg)
|
|
|
|
|
|
|
|
# Load the README
|
|
|
|
with open('README.md', 'r') as f:
|
|
|
|
readme = f.read()
|
|
|
|
|
|
|
|
|
|
|
|
setup(
|
|
|
|
name=pkg['__title__'],
|
|
|
|
version=pkg['__version__'],
|
|
|
|
description=pkg['__description__'],
|
|
|
|
long_description=readme,
|
2019-08-15 12:48:38 -06:00
|
|
|
long_description_content_type='text/markdown',
|
2018-03-07 22:54:13 -07:00
|
|
|
author=pkg['__author__'],
|
|
|
|
author_email=pkg['__author_email__'],
|
|
|
|
url=pkg['__url__'],
|
|
|
|
license=pkg['__license__'],
|
|
|
|
packages=find_packages(),
|
|
|
|
package_data={'': ['LICENSE']},
|
|
|
|
package_dir={'bison': 'bison'},
|
|
|
|
include_package_data=True,
|
2021-03-26 06:02:38 -06:00
|
|
|
python_requires=">=3.6",
|
2018-03-07 22:54:13 -07:00
|
|
|
install_requires=[
|
2024-04-07 21:09:04 -06:00
|
|
|
'pyyaml>=5.4'
|
2018-03-07 22:54:13 -07:00
|
|
|
],
|
|
|
|
zip_safe=False,
|
|
|
|
classifiers=[
|
|
|
|
'Intended Audience :: Developers',
|
|
|
|
'License :: OSI Approved :: MIT License',
|
|
|
|
'Natural Language :: English',
|
|
|
|
'Programming Language :: Python',
|
|
|
|
'Programming Language :: Python :: 3',
|
|
|
|
'Programming Language :: Python :: 3.4',
|
|
|
|
'Programming Language :: Python :: 3.5',
|
|
|
|
'Programming Language :: Python :: 3.6',
|
|
|
|
'Programming Language :: Python :: Implementation :: CPython',
|
|
|
|
'Programming Language :: Python :: Implementation :: PyPy',
|
|
|
|
'Topic :: Software Development :: Libraries',
|
|
|
|
'Topic :: Software Development :: Libraries :: Python Modules'
|
|
|
|
],
|
|
|
|
tests_require=[
|
|
|
|
'pytest>=2.8.0',
|
|
|
|
'pytest-cov'
|
|
|
|
]
|
|
|
|
)
|