|
1 | 1 | # -*- coding: utf-8 -*- |
2 | 2 |
|
3 | | -from setuptools import setup, find_packages |
4 | | -from pip._internal.req import parse_requirements as parse |
| 3 | +import pathlib |
5 | 4 | from urllib.parse import urlparse |
| 5 | +from pip._internal.req import parse_requirements as parse |
| 6 | +from setuptools import find_packages, setup |
6 | 7 |
|
7 | 8 |
|
8 | 9 | def _format_requirement(req): |
@@ -32,14 +33,17 @@ def parse_requirements(fname): |
32 | 33 | setup( |
33 | 34 | name="sumo-wrapper-python", |
34 | 35 | description="Python wrapper for the Sumo API", |
| 36 | + long_description=pathlib.Path("README.md").read_text(), |
| 37 | + long_description_content_type="text/markdown", |
35 | 38 | license="Apache 2.0", |
36 | 39 | url="https://github.com/equinor/sumo-wrapper-python", |
37 | 40 | keywords="sumo, python", |
38 | 41 | classifiers=[ |
39 | 42 | "Development Status :: 3 - Alpha", |
40 | 43 | "Intended Audience :: Developers", |
41 | 44 | "Natural Language :: English", |
42 | | - "Programming Language :: Python :: 3.7" "Programming Language :: Python :: 3.8", |
| 45 | + "Programming Language :: Python :: 3.7" |
| 46 | + "Programming Language :: Python :: 3.8", |
43 | 47 | ], |
44 | 48 | use_scm_version={"write_to": "src/sumo/wrapper/version.py"}, |
45 | 49 | author="Equinor ASA", |
|
0 commit comments