Update setup.py

This commit is contained in:
Tailing Yuan 2020-03-26 21:31:54 +08:00 committed by GitHub
parent aa8c50dbec
commit 5eb6a2063e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 3 additions and 3 deletions

View File

@ -16,7 +16,7 @@ from setuptools import setup, find_packages
import os
path = os.path.dirname(__file__)
with open(path + "/README.src.md", "r") as fh:
with open(os.path.join(path, "README.src.md")) as fh:
long_description = fh.read()
setuptools.setup(
@ -33,7 +33,7 @@ setuptools.setup(
python_requires='>=3.7',
packages=["jittor", "jittor.test", "jittor.models", "jittor.utils", "jittor_utils"],
package_dir={'':path+'/python'},
package_dir={'': os.path.join(path, 'python')},
package_data={'': ['*', '*/*', '*/*/*','*/*/*/*','*/*/*/*/*','*/*/*/*/*/*']},
# include_package_data=True,
install_requires=[
@ -43,4 +43,4 @@ setuptools.setup(
"pillow",
"astunparse",
],
)
)