Skip to content

Commit f7fc610

Browse files
committed
fixed update project build
1 parent 2ed9084 commit f7fc610

File tree

4 files changed

+52
-44
lines changed

4 files changed

+52
-44
lines changed

geopayment/__init__.py

+2-2
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
CredoProvider,
33
IPayProvider,
44
TBCProvider,
5-
TBCInstallmentProvider
5+
TBCInstallmentProvider,
66
)
77

8-
__version__ = '0.5.2'
8+
__version__ = "0.6.0"

pyproject.toml

+3
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
[build-system]
2+
requires = ['setuptools>=57.0.0', 'wheel']
3+
build-backend = 'setuptools.build_meta:__legacy__'

setup.cfg

+45
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,45 @@
1+
[metadata]
2+
name = geopayment
3+
version = attr: geopayment.__version__
4+
url = https://github.com/Lh4cKg/geopayment
5+
author = Lasha Gogua
6+
author_email = gogualasha@gmail.com
7+
description = Python SDK for Georgian Payment Providers
8+
long_description = file: README.md
9+
long_description_content_type = text/markdown
10+
license = MIT
11+
classifiers =
12+
Environment :: Web Environment
13+
Intended Audience :: Developers
14+
License :: OSI Approved :: MIT License
15+
Operating System :: OS Independent
16+
Programming Language :: Python
17+
Topic :: Software Development :: Libraries :: Python Modules
18+
Topic :: Software Development :: Libraries :: Application Frameworks
19+
Topic :: Internet
20+
Topic :: Internet :: WWW/HTTP
21+
Development Status :: 5 - Production/Stable
22+
Programming Language :: Python :: 3.7
23+
project_urls =
24+
Documentation = https://github.com/Lh4cKg/geopayment/tree/main/docs
25+
Release notes = https://github.com/Lh4cKg/geopayment/releases
26+
Source = https://github.com/Lh4cKg/geopayment
27+
28+
[options]
29+
python_requires = >=3.7
30+
packages = find:
31+
include_package_data = true
32+
zip_safe = false
33+
install_requires =
34+
cryptography >= 3.3.2
35+
pyOpenSSL>= 21.0.0
36+
requests >= 2.26.0
37+
38+
[flake8]
39+
exclude = example,docs,certs
40+
max-line-length = 79
41+
42+
[isort]
43+
profile = black
44+
default_section = THIRDPARTY
45+
known_first_party = geopayment

setup.py

+2-42
Original file line numberDiff line numberDiff line change
@@ -1,44 +1,4 @@
1-
from setuptools import setup, find_packages
2-
from geopayment import __version__
1+
from setuptools import setup
32

43

5-
def read(filename):
6-
with open(filename, encoding='utf-8') as fd:
7-
return fd.read()
8-
9-
10-
setup(
11-
name='geopayment',
12-
version=__version__,
13-
author='Lasha Gogua',
14-
author_email='gogualasha@gmail.com',
15-
description='Python SDK for Georgian Payment Providers',
16-
long_description=read('README.md'),
17-
long_description_content_type='text/markdown',
18-
url='https://github.com/Lh4cKg/geopayment',
19-
license='MIT',
20-
keywords=['python', 'geopayment', 'payments', 'sdk', 'merchant'],
21-
platforms=['OS Independent'],
22-
classifiers=[
23-
'Environment :: Web Environment',
24-
'Intended Audience :: Developers',
25-
'License :: OSI Approved :: MIT License',
26-
'Operating System :: OS Independent',
27-
'Programming Language :: Python',
28-
'Topic :: Software Development :: Libraries :: Python Modules',
29-
'Topic :: Internet :: WWW/HTTP :: Dynamic Content',
30-
'Topic :: Internet :: WWW/HTTP :: Site Management',
31-
'Topic :: Software Development :: Libraries :: Application Frameworks',
32-
'Development Status :: 5 - Production/Stable',
33-
'Programming Language :: Python :: 3.7',
34-
],
35-
install_requires=[
36-
'cryptography>=3.3.2',
37-
'pyOpenSSL>=21.0.0',
38-
'requests>=2.26.0',
39-
],
40-
packages=find_packages(exclude=['example', 'docs']),
41-
include_package_data=True,
42-
zip_safe=False,
43-
python_requires='>=3.7',
44-
)
4+
setup()

0 commit comments

Comments
 (0)