setup.py: Improve indentation and specify UTF-8 encoding for long_description/README.md.

This commit is contained in:
Florent Kermarrec 2023-12-19 10:17:34 +01:00
parent e8bc9fa81d
commit e9dac1e460
1 changed files with 16 additions and 16 deletions

View File

@ -4,24 +4,24 @@ from setuptools import setup
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()
setup(
name="litex-boards",
version="2023.08",
description="LiteX supported boards",
long_description=long_description,
long_description_content_type="text/markdown",
author="Florent Kermarrec",
author_email="florent@enjoy-digital.fr",
url="http://enjoy-digital.fr",
download_url="https://github.com/litex-hub/litex-boards",
test_suite="test",
license="BSD",
python_requires="~=3.6",
install_requires=["litex"],
include_package_data=True,
packages=find_packages(exclude=['test*']),
name = "litex-boards",
version = "2023.08",
description = "LiteX supported boards",
long_description = long_description,
long_description_content_type = "text/markdown",
author = "Florent Kermarrec",
author_email = "florent@enjoy-digital.fr",
url = "http://enjoy-digital.fr",
download_url = "https://github.com/litex-hub/litex-boards",
test_suite = "test",
license = "BSD",
python_requires = "~=3.6",
install_requires = ["litex"],
include_package_data = True,
packages = find_packages(exclude=['test*']),
)