|
1 | 1 | #!/usr/bin/env python |
2 | 2 | # -*- coding: utf-8 -*- |
| 3 | +# SPDX-License-Identifier: MIT |
3 | 4 | """ |
4 | 5 | Setup script for "parse_type" package. |
5 | 6 |
|
|
31 | 32 | # PREPARE SETUP: |
32 | 33 | # ----------------------------------------------------------------------------- |
33 | 34 | HERE = os.path.dirname(__file__) |
34 | | -README = os.path.join(HERE, "README.rst") |
35 | | -long_description = ''.join(open(README).readlines()[4:]) |
| 35 | +# DISABLED: README = os.path.join(HERE, "README.rst") |
| 36 | +# DISABLED: long_description = "".join(open(README).readlines()[4:]) |
36 | 37 |
|
37 | 38 |
|
38 | 39 | # ----------------------------------------------------------------------------- |
@@ -71,12 +72,19 @@ def get_this_package_version(version): |
71 | 72 | url = "https://github.com/jenisys/parse_type", |
72 | 73 | download_url= "http://pypi.python.org/pypi/parse_type", |
73 | 74 | description = "Simplifies to build parse types based on the parse module", |
74 | | - long_description = long_description, |
| 75 | + long_description = "file: README.rst", |
| 76 | + long_description_content_type = "text/x-rst", |
75 | 77 | keywords= "parse, parsing", |
76 | 78 | license = "MIT", |
| 79 | + license_files = ["LICENSE"], |
77 | 80 | packages = find_packages_by_root_package("parse_type"), |
78 | 81 | include_package_data = True, |
79 | | - |
| 82 | + project_urls = { |
| 83 | + "Homepage": "https://github.com/jenisys/parse_type", |
| 84 | + "Download": "https://pypi.org/project/parse_type/", |
| 85 | + "Repository": "https://github.com/jenisys/parse_type", |
| 86 | + "Issues": "https://github.com/jenisys/parse_type/issues/", |
| 87 | + }, |
80 | 88 | # -- REQUIREMENTS: |
81 | 89 | python_requires=">=2.7, !=3.0.*, !=3.1.*", |
82 | 90 | setup_requires=[ |
@@ -130,7 +138,6 @@ def get_this_package_version(version): |
130 | 138 | "Environment :: Console", |
131 | 139 | "Environment :: Web Environment", |
132 | 140 | "Intended Audience :: Developers", |
133 | | - "License :: OSI Approved :: MIT License", |
134 | 141 | "Operating System :: OS Independent", |
135 | 142 | "Programming Language :: Python :: 2.7", |
136 | 143 | "Programming Language :: Python :: 3.2", |
|
0 commit comments