Skip to content

Commit 7e15833

Browse files
committed
Use setup.cfg over setup.py
1 parent 901f8df commit 7e15833

2 files changed

Lines changed: 38 additions & 22 deletions

File tree

setup.cfg

Lines changed: 36 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,47 @@
11
[metadata]
22
name = openpaygo
33
version = 0.5.2
4+
description = OpenPAYGO library in Python
5+
long_description = file: README.md
6+
long_description_content_type = text/markdown
47
url = https://github.com/EnAccess/OpenPAYGO-python/
5-
description-file=README.md
6-
license_files=LICENSE
8+
# author = EnAccess Fundation
9+
# author_email = info@enaccess.org
10+
license = MIT License
11+
license_files = LICENSE
12+
project_urls =
13+
Homepage = https://enaccess.org/materials/openpaygotoken/
14+
# Documentation = https://github.com/EnAccess/OpenPAYGO-python/
15+
Changes = https://github.com/EnAccess/OpenPAYGO-python/releases
16+
Source = https://github.com/EnAccess/OpenPAYGO-python/
17+
Issue Tracker = https://github.com/EnAccess/OpenPAYGO-python//issues
18+
Twitter = https://twitter.com/EnAccessFdn
19+
Chat = https://community.enaccess.org/
20+
classifiers =
21+
Development Status :: 5 - Production/Stable
22+
Intended Audience :: Developers
23+
License :: OSI Approved :: Apache Software License
24+
Operating System :: Unix
25+
Operating System :: POSIX
26+
Operating System :: MacOS
27+
Operating System :: Microsoft :: Windows
28+
Programming Language :: Python
29+
Programming Language :: Python :: 3
30+
Programming Language :: Python :: 3.7
31+
Programming Language :: Python :: 3.8
32+
Programming Language :: Python :: 3.9
33+
Programming Language :: Python :: 3.10
34+
Programming Language :: Python :: 3.11
35+
Programming Language :: Python :: 3.12
36+
Programming Language :: Python :: Implementation :: CPython
37+
Topic :: Utilities
38+
keywords =
39+
paygo
740

841
[options]
942
python_requires = >=3.6
1043
packages = find:
1144
include_package_data = true
1245
zip_safe = false
1346
install_requires =
14-
siphash >= 0.0.1
47+
siphash >= 0.0.1

setup.py

Lines changed: 2 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -1,20 +1,3 @@
1-
from setuptools import setup, find_packages
1+
from setuptools import setup
22

3-
# read the contents of your README file
4-
from pathlib import Path
5-
this_directory = Path(__file__).parent
6-
long_description = (this_directory / "README.md").read_text()
7-
8-
setup(
9-
name="openpaygo",
10-
packages=find_packages(),
11-
version='0.5.2',
12-
license='MIT',
13-
author="Solaris Offgrid",
14-
url='https://github.com/EnAccess/OpenPAYGO-python/',
15-
long_description=long_description,
16-
long_description_content_type='text/markdown',
17-
install_requires=[
18-
'siphash',
19-
],
20-
)
3+
setup()

0 commit comments

Comments
 (0)