Fix pip install too

This commit is contained in:
Shreyas Bapat 2019-04-03 22:47:55 +05:30
parent b79b011d5e
commit 4809de8765
4 changed files with 35 additions and 1 deletions

9
MANIFEST.in Normal file
View File

@ -0,0 +1,9 @@
graft docs
include COPYING
include AUTHORS
recursive-include src/einsteinpy/tests *.py *.html
prune docs/source/examples/.ipynb_checkpoints
global-exclude *.py[cod] __pycache__ *.so *.dylib

5
pyproject.toml Normal file
View File

@ -0,0 +1,5 @@
[build-system]
requires = [
"setuptools",
"wheel",
]

21
setup.cfg Normal file
View File

@ -0,0 +1,21 @@
[tool:pytest]
norecursedirs =
.git
dist
build
python_files =
test_*.py
doctest_plus = disabled
addopts = --strict
markers =
slow
remote_data
filterwarnings
[pycodestyle]
ignore = E731,W504
max-line-length = 120
[flake8]
ignore = E731,W504,F401,F841
max-line-length = 120

View File

@ -40,7 +40,6 @@ setup(
}, },
packages=find_packages("src"), packages=find_packages("src"),
package_dir={"": "src"}, package_dir={"": "src"},
entry_points={"console_scripts": ["pytorch-lightning=pytorch-lightning.cli:main"]},
classifiers=[ classifiers=[
"Development Status :: 4 - Beta", "Development Status :: 4 - Beta",
"Intended Audience :: Education", "Intended Audience :: Education",