setup.py: Improve indentation and specify UTF-8 encoding for long_description/README.md.
This commit is contained in:
parent
e8bc9fa81d
commit
e9dac1e460
32
setup.py
32
setup.py
|
@ -4,24 +4,24 @@ from setuptools import setup
|
||||||
from setuptools import find_packages
|
from setuptools import find_packages
|
||||||
|
|
||||||
|
|
||||||
with open("README.md", "r") as fp:
|
with open("README.md", "r", encoding="utf-8") as fp:
|
||||||
long_description = fp.read()
|
long_description = fp.read()
|
||||||
|
|
||||||
|
|
||||||
setup(
|
setup(
|
||||||
name="litex-boards",
|
name = "litex-boards",
|
||||||
version="2023.08",
|
version = "2023.08",
|
||||||
description="LiteX supported boards",
|
description = "LiteX supported boards",
|
||||||
long_description=long_description,
|
long_description = long_description,
|
||||||
long_description_content_type="text/markdown",
|
long_description_content_type = "text/markdown",
|
||||||
author="Florent Kermarrec",
|
author = "Florent Kermarrec",
|
||||||
author_email="florent@enjoy-digital.fr",
|
author_email = "florent@enjoy-digital.fr",
|
||||||
url="http://enjoy-digital.fr",
|
url = "http://enjoy-digital.fr",
|
||||||
download_url="https://github.com/litex-hub/litex-boards",
|
download_url = "https://github.com/litex-hub/litex-boards",
|
||||||
test_suite="test",
|
test_suite = "test",
|
||||||
license="BSD",
|
license = "BSD",
|
||||||
python_requires="~=3.6",
|
python_requires = "~=3.6",
|
||||||
install_requires=["litex"],
|
install_requires = ["litex"],
|
||||||
include_package_data=True,
|
include_package_data = True,
|
||||||
packages=find_packages(exclude=['test*']),
|
packages = find_packages(exclude=['test*']),
|
||||||
)
|
)
|
||||||
|
|
Loading…
Reference in New Issue