diff --git a/geopayment/__init__.py b/geopayment/__init__.py index 7cb7cd4..8d1f40b 100644 --- a/geopayment/__init__.py +++ b/geopayment/__init__.py @@ -2,7 +2,7 @@ CredoProvider, IPayProvider, TBCProvider, - TBCInstallmentProvider + TBCInstallmentProvider, ) -__version__ = '0.5.2' +__version__ = "0.6.0" diff --git a/pyproject.toml b/pyproject.toml new file mode 100644 index 0000000..55630da --- /dev/null +++ b/pyproject.toml @@ -0,0 +1,3 @@ +[build-system] +requires = ['setuptools>=57.0.0', 'wheel'] +build-backend = 'setuptools.build_meta:__legacy__' \ No newline at end of file diff --git a/setup.cfg b/setup.cfg new file mode 100644 index 0000000..8c3692a --- /dev/null +++ b/setup.cfg @@ -0,0 +1,45 @@ +[metadata] +name = geopayment +version = attr: geopayment.__version__ +url = https://github.com/Lh4cKg/geopayment +author = Lasha Gogua +author_email = gogualasha@gmail.com +description = Python SDK for Georgian Payment Providers +long_description = file: README.md +long_description_content_type = text/markdown +license = MIT +classifiers = + Environment :: Web Environment + Intended Audience :: Developers + License :: OSI Approved :: MIT License + Operating System :: OS Independent + Programming Language :: Python + Topic :: Software Development :: Libraries :: Python Modules + Topic :: Software Development :: Libraries :: Application Frameworks + Topic :: Internet + Topic :: Internet :: WWW/HTTP + Development Status :: 5 - Production/Stable + Programming Language :: Python :: 3.7 +project_urls = + Documentation = https://github.com/Lh4cKg/geopayment/tree/main/docs + Release notes = https://github.com/Lh4cKg/geopayment/releases + Source = https://github.com/Lh4cKg/geopayment + +[options] +python_requires = >=3.7 +packages = find: +include_package_data = true +zip_safe = false +install_requires = + cryptography >= 3.3.2 + pyOpenSSL>= 21.0.0 + requests >= 2.26.0 + +[flake8] +exclude = example,docs,certs +max-line-length = 79 + +[isort] +profile = black +default_section = THIRDPARTY +known_first_party = geopayment \ No newline at end of file diff --git a/setup.py b/setup.py index 8a31b0f..b024da8 100644 --- a/setup.py +++ b/setup.py @@ -1,44 +1,4 @@ -from setuptools import setup, find_packages -from geopayment import __version__ +from setuptools import setup -def read(filename): - with open(filename, encoding='utf-8') as fd: - return fd.read() - - -setup( - name='geopayment', - version=__version__, - author='Lasha Gogua', - author_email='gogualasha@gmail.com', - description='Python SDK for Georgian Payment Providers', - long_description=read('README.md'), - long_description_content_type='text/markdown', - url='https://github.com/Lh4cKg/geopayment', - license='MIT', - keywords=['python', 'geopayment', 'payments', 'sdk', 'merchant'], - platforms=['OS Independent'], - classifiers=[ - 'Environment :: Web Environment', - 'Intended Audience :: Developers', - 'License :: OSI Approved :: MIT License', - 'Operating System :: OS Independent', - 'Programming Language :: Python', - 'Topic :: Software Development :: Libraries :: Python Modules', - 'Topic :: Internet :: WWW/HTTP :: Dynamic Content', - 'Topic :: Internet :: WWW/HTTP :: Site Management', - 'Topic :: Software Development :: Libraries :: Application Frameworks', - 'Development Status :: 5 - Production/Stable', - 'Programming Language :: Python :: 3.7', - ], - install_requires=[ - 'cryptography>=3.3.2', - 'pyOpenSSL>=21.0.0', - 'requests>=2.26.0', - ], - packages=find_packages(exclude=['example', 'docs']), - include_package_data=True, - zip_safe=False, - python_requires='>=3.7', -) +setup()