File tree Expand file tree Collapse file tree 3 files changed +20
-15
lines changed Expand file tree Collapse file tree 3 files changed +20
-15
lines changed Original file line number Diff line number Diff line change 11language : python
22install : pip install -r requirements.txt
33script :
4+ - pip install pytest
45 - pytest
56 - python setup.py sdist bdist_wheel
67
Original file line number Diff line number Diff line change 1- deepmerge = =0.0.5
2- lru_cache = =0.2.3
3- backports.functools_lru_cache = =1.5
4- pathlib2 = =2.3.4
5- boto3 = =1.9.110
1+ deepmerge > =0.0.5
2+ lru_cache > =0.2.3
3+ backports.functools_lru_cache > =1.5
4+ pathlib2 > =2.3.4
5+ boto3 > =1.9.110
66pyyaml
7- pytest
Original file line number Diff line number Diff line change 1- from setuptools import setup
21from hierarchical_yaml .__version__ import __version__
2+ import os
3+ import sys
34
5+ try :
6+ from setuptools import setup
7+ except ImportError :
8+ from distutils .core import setup
9+
10+ with open ('README.md' ) as f :
11+ _readme = f .read ()
12+
13+ _mydir = os .path .abspath (os .path .dirname (sys .argv [0 ]))
14+ _requires = [ r for r in open (os .path .sep .join ((_mydir ,'requirements.txt' )), "r" ).read ().split ('\n ' ) if len (r )> 1 ]
415
516setup (
617 name = 'hierarchical-yaml' ,
718 version = __version__ ,
819 description = 'A hierarchical config using yaml in Python' ,
9- long_description = __doc__ ,
20+ long_description = _readme + ' \n \n ' ,
1021 long_description_content_type = 'text/markdown' ,
1122 url = 'https://github.com/adobe/hierarchical-yaml' ,
1223 author = 'Adobe' ,
3546 ],
3647 packages = ['hierarchical_yaml' ],
3748 include_package_data = True ,
38- install_requires = [
39- 'pathlib2' ,
40- 'deepmerge' ,
41- 'lru_cache' ,
42- 'pyyaml' ,
43- 'backports.functools_lru_cache' ,
44- 'boto3' ],
49+ install_requires = _requires ,
4550 entry_points = {
4651 'console_scripts' : [
4752 'hyaml = hierarchical_yaml.main:run'
You can’t perform that action at this time.
0 commit comments