Skip to content

Commit

Permalink
Update setup.py
Browse files Browse the repository at this point in the history
  • Loading branch information
zkyseu authored Dec 29, 2022
1 parent 563bf90 commit 9897300
Showing 1 changed file with 4 additions and 8 deletions.
12 changes: 4 additions & 8 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -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',
Expand All @@ -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', ]})

0 comments on commit 9897300

Please sign in to comment.