File tree Expand file tree Collapse file tree 2 files changed +15
-12
lines changed Expand file tree Collapse file tree 2 files changed +15
-12
lines changed Original file line number Diff line number Diff line change @@ -10,7 +10,7 @@ install:
1010 - pip install . --no-cache-dir
1111script :
1212 - pytest --cov=pwlf -p no:warnings tests/tests.py
13- - pip install tensorflow<= 2.0.0
13+ - pip install " tensorflow>=1.0.0,< 2.0.0"
1414 - pytest --cov=pwlf --cov-append -p no:warnings tests/teststf.py
1515before_script :
1616 - flake8 pwlf
Original file line number Diff line number Diff line change 77 exec (fp .read (), version )
88
99setup (
10- name = ' pwlf' ,
10+ name = " pwlf" ,
1111 version = version ["__version__" ],
12- author = ' Charles Jekel' ,
13- author_email = ' cjekel@gmail.com' ,
14- packages = [' pwlf' ],
15- url = ' https://github.com/cjekel/piecewise_linear_fit_py' ,
16- license = ' MIT License' ,
17- description = ' fit piecewise linear functions to data' ,
18- long_description = io .open (' README.rst' , encoding = "utf-8" ).read (),
12+ author = " Charles Jekel" ,
13+ author_email = " cjekel@gmail.com" ,
14+ packages = [" pwlf" ],
15+ url = " https://github.com/cjekel/piecewise_linear_fit_py" ,
16+ license = " MIT License" ,
17+ description = " fit piecewise linear functions to data" ,
18+ long_description = io .open (" README.rst" , encoding = "utf-8" ).read (),
1919 # long_description_content_type='text/markdown',
20- platforms = [' any' ],
20+ platforms = [" any" ],
2121 install_requires = [
2222 "numpy >= 1.14.0" ,
2323 "scipy >= 1.2.0" ,
2424 "pyDOE >= 0.3.8" ,
2525 ],
2626 classifiers = [
27- ' License :: OSI Approved :: MIT License' ,
28- ' Programming Language :: Python :: 3' ,
27+ " License :: OSI Approved :: MIT License" ,
28+ " Programming Language :: Python :: 3" ,
2929 ],
3030 python_requires = ">3.5" ,
31+ extras_require = {
32+ "PiecewiseLinFitTF" : ["tensorflow < 2.0.0" ],
33+ },
3134)
You can’t perform that action at this time.
0 commit comments