File tree Expand file tree Collapse file tree 1 file changed +0
-18
lines changed
Expand file tree Collapse file tree 1 file changed +0
-18
lines changed Original file line number Diff line number Diff line change 1313See the License for the specific language governing permissions and
1414limitations under the License.
1515"""
16-
17- # !/usr/bin/env python
18-
19- import re
20-
2116from setuptools import setup , find_packages
2217
2318version = "1.2.1"
3328in future. And Ronda service will be hosted in AWS S3.
3429"""
3530
36-
37- def _get_requirements (path ):
38- try :
39- with open (path , encoding = "utf-8" ) as f :
40- packages = f .read ().splitlines ()
41- except (IOError , OSError ) as ex :
42- raise RuntimeError (f"Can't open file with requirements: { ex } " ) from ex
43- packages = (p .strip () for p in packages if not re .match (r'^\s*#' , p ))
44- packages = list (filter (None , packages ))
45- return packages
46-
47-
4831setup (
4932 zip_safe = True ,
5033 name = "charon" ,
@@ -62,7 +45,6 @@ def _get_requirements(path):
6245 author = "RedHat EXD SPMM" ,
6346 license = "APLv2" ,
6447 packages = find_packages (exclude = ["ez_setup" , "examples" , "tests" ]),
65- install_requires = _get_requirements ('requirements.txt' ),
6648 package_data = {'charon' : ['schemas/*.json' ]},
6749 test_suite = "tests" ,
6850 entry_points = {
You can’t perform that action at this time.
0 commit comments