-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
16 changed files
with
331 additions
and
335 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
[flake8] | ||
ignore = E203, E266, E501, W503 | ||
ignore = E203, E266, E501, W503, E741 | ||
max-line-length = 88 | ||
max-complexity = 18 | ||
select = B,C,E,F,W,T4 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,4 @@ | ||
""" | ||
Created on Sat Apr 3 16:02:54 2021 | ||
"""Created on Sat Apr 3 16:02:54 2021. | ||
@author: mofarrag | ||
""" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -3,13 +3,15 @@ | |
with open("README.md", "r") as readme_file: | ||
readme = readme_file.read() | ||
|
||
with open('HISTORY.rst') as history_file: | ||
with open("HISTORY.rst") as history_file: | ||
history = history_file.read() | ||
|
||
requirements = [line.strip() for line in open("requirements.txt").readlines()] | ||
requirements = requirements[1:] | ||
|
||
test_requirements = ['pytest>=3', ] | ||
test_requirements = [ | ||
"pytest>=3", | ||
] | ||
|
||
setup( | ||
name="statista", | ||
|
@@ -19,20 +21,20 @@ | |
author_email="[email protected]", | ||
url="https://github.com/MAfarrag/statista", | ||
keywords=["statistics", "distributions"], | ||
long_description=readme + '\n\n' + history, | ||
long_description=readme + "\n\n" + history, | ||
long_description_content_type="text/markdown", | ||
license="GNU General Public License v3", | ||
zip_safe=False, | ||
packages=find_packages(include=['statista', 'statista.*']), | ||
packages=find_packages(include=["statista", "statista.*"]), | ||
test_suite="tests", | ||
tests_require=test_requirements, | ||
install_requires=requirements, | ||
classifiers=[ | ||
"Development Status :: 5 - Production/Stable", | ||
"Environment :: Console", | ||
'License :: OSI Approved :: GNU General Public License v3 (GPLv3)', | ||
"License :: OSI Approved :: GNU General Public License v3 (GPLv3)", | ||
"Natural Language :: English", | ||
'Programming Language :: Python :: 3', | ||
"Programming Language :: Python :: 3", | ||
"Programming Language :: Python :: 3.7", | ||
"Programming Language :: Python :: 3.8", | ||
"Programming Language :: Python :: 3.9", | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -13,7 +13,7 @@ | |
|
||
# documentation format | ||
__author__ = "Mostafa Farrag" | ||
__email__ = '[email protected]' | ||
__email__ = "[email protected]" | ||
__docformat__ = "restructuredtext" | ||
|
||
# Let users know if they're missing any of our hard dependencies | ||
|
@@ -25,15 +25,16 @@ | |
__import__(dependency) | ||
except ImportError as e: | ||
missing_dependencies.append(dependency) | ||
print(e) | ||
|
||
if missing_dependencies: | ||
raise ImportError("Missing required dependencies {0}".format(missing_dependencies)) | ||
|
||
import statista.distributions | ||
import statista.metrics | ||
import statista.parameters | ||
import statista.sensitivity | ||
import statista.tools | ||
# import statista.distributions | ||
# import statista.metrics | ||
# import statista.parameters | ||
# import statista.sensitivity | ||
# import statista.tools | ||
|
||
__doc__ = """ | ||
statista - statistics package | ||
|
Oops, something went wrong.