diff --git a/setup.py b/setup.py index 2c2a4a9..950666b 100644 --- a/setup.py +++ b/setup.py @@ -3,12 +3,6 @@ long_description = "A Tookit for lane detection based on PaddlePaddle" -def parse_requirements(fname): - with open(fname, encoding="utf-8-sig") as f: - requirements = f.readlines() - return requirements - - setuptools.setup( name="pplanedet", version='0.0.2', @@ -21,11 +15,13 @@ def parse_requirements(fname): packages=setuptools.find_packages(), include_package_data=True, setup_requires=['cython', 'numpy'], - install_requires=parse_requirements('./requirements.txt'), + install_requires=[ + 'ftfy', 'regex', 'paddleseg' + ], classifiers=[ "Programming Language :: Python :: 3", "License :: OSI Approved :: Apache Software License", "Operating System :: OS Independent", ], - license='MIT License', + license='Apache 2.0', entry_points={'console_scripts': ['pplanedet=pplanedet.command:main', ]})