Skip to content

Commit 019b9ca

Browse files
committed
Fixed package installation
1 parent c65cfad commit 019b9ca

3 files changed

Lines changed: 5 additions & 7 deletions

File tree

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -80,7 +80,7 @@ df = pd.DataFrame(map(lambda x: x.__dict__, response.data))
8080
```
8181
3. Publish library
8282
```shell
83-
twine upload dist/{packaged file}.tar.gz
83+
twine upload dist/marketstack-[version].tar.gz
8484
```
8585

8686
## References

marketstack/__init__.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,3 @@
11
""" A client library for accessing Marketstack OpenAPI """
22
from .client import AuthenticatedClient, Client
3+
__version__ = "0.4"

setup.py

Lines changed: 3 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
from pathlib import Path
22

3-
from setuptools import setup
3+
from setuptools import setup, find_packages
44

55
this_directory = Path(__file__).parent
66
long_description = (this_directory / "README.md").read_text()
@@ -10,12 +10,9 @@
1010
description="Inofficial Marketstack OpenAPI Python client",
1111
long_description=long_description,
1212
long_description_content_type="text/markdown",
13-
version="0.4",
13+
version="0.5",
1414
url="https://github.com/mreiche/marketstack-python",
1515
author="Mike Reiche",
16-
py_modules=["marketstack"],
16+
packages=find_packages(),
1717
install_requires=["attrs>=22.1.0", "httpx>=0.23.0", "python-dateutil>=2.8.2"],
18-
extra_test=[
19-
"pytest>=7.1.3",
20-
],
2118
)

0 commit comments

Comments
 (0)