Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix midtrans-python-client to support windows environment #12

Merged
merged 3 commits into from
Oct 25, 2021
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
18 changes: 13 additions & 5 deletions setup.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,15 @@
import setuptools
"""A setuptools based setup module.
Based on: https://github.com/pypa/sampleproject/blob/90d44abe361688aba5a189e661423863b34f5208/setup.py
"""

with open("README.md", "r") as fh:
long_description = fh.read()
# Always prefer setuptools over distutils
from setuptools import setup, find_packages
import pathlib

here = pathlib.Path(__file__).parent.resolve()

# Get the long description from the README file
long_description = (here / 'README.md').read_text(encoding='utf-8')

pkg_req = [
'requests>=2.25.0'
Expand All @@ -10,7 +18,7 @@
'pytest>=3.0.6'
]

setuptools.setup(
setup(
name="midtransclient",
version="1.3.0",
author="Rizda Prasetya",
Expand All @@ -36,4 +44,4 @@
python_requires='>=3.5',
install_requires=pkg_req,
tests_requires=test_req
)
)