|
18 | 18 | with open("README.md", "rb") as fh: |
19 | 19 | long_description = fh.read().decode('utf-8') |
20 | 20 |
|
| 21 | +short_description = """ |
| 22 | +Programmer for FPGA boards using the TinyFPGA USB Bootloader |
| 23 | + (http://tinyfpga.com). |
| 24 | +""".replace("\n", "").replace("\r", "").strip() |
| 25 | +# short description should not have newlines or start/ending spaces. |
| 26 | +assert len(short_description.splitlines()) == 1 |
| 27 | + |
21 | 28 | setup( |
22 | 29 | name='tinyprog', |
23 | 30 | packages=find_packages(), |
|
31 | 38 | 'git_describe_command': GIT_DESCRIBE_CMD, |
32 | 39 | }, |
33 | 40 | setup_requires=['setuptools_scm'], |
34 | | - description="""\ |
35 | | -Programmer for FPGA boards using the TinyFPGA USB Bootloader |
36 | | -(http://tinyfpga.com). |
37 | | -""", |
| 41 | + description=short_description, |
38 | 42 | long_description=long_description, |
39 | 43 | long_description_content_type="text/markdown", |
40 | 44 | author='Luke Valenty', |
|
56 | 60 | 'License :: OSI Approved :: GNU General Public License v3 (GPLv3)', |
57 | 61 | 'Programming Language :: Python :: 2', |
58 | 62 | 'Programming Language :: Python :: 2.7', |
59 | | - 'Programming Language :: Python :: 3' |
60 | | - 'Programming Language :: Python :: 3.5' |
61 | | - 'Programming Language :: Python :: 3.6' |
62 | | - 'Programming Language :: Python :: 3.7' |
| 63 | + 'Programming Language :: Python :: 3', |
| 64 | + 'Programming Language :: Python :: 3.5', |
| 65 | + 'Programming Language :: Python :: 3.6', |
| 66 | + 'Programming Language :: Python :: 3.7', |
63 | 67 | ], |
64 | 68 | entry_points={'console_scripts': ['tinyprog = tinyprog.__main__:main']}, |
65 | 69 | ) |
0 commit comments