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
|
from __future__ import absolute_import
from setuptools import setup
# To use a consistent encoding
from codecs import open
from os import path
here = path.abspath(path.dirname(__file__))
# README as the long description
with open(path.join(here, 'README.md'), encoding='utf-8') as f:
long_description = f.read()
REQUIREMENTS = [i.strip() for i in open('requirements.txt').readlines()]
tests_require = [
'pytest',
]
setup(name='pyaml_env',
version='1.2.1',
description='Provides yaml file parsing with '
'environment variable resolution',
long_description=long_description,
tests_require=tests_require,
extras_require={
'test': tests_require,
},
test_suite='pytest.collector',
install_requires=REQUIREMENTS,
include_package_data=True,
package_dir={'': 'src'},
packages=[
'pyaml_env',
],
)
|