Skip to content
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
)
)