Skip to content

Commit 44282b6

Browse files
committed
Metadatas for PyPI
1 parent a07ecb6 commit 44282b6

3 files changed

Lines changed: 22 additions & 6 deletions

File tree

python-jsonic.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616

1717
#include "lib/jsonic/jsonic.h"
1818

19-
#define PYJSONIC_VERSION "1.0"
19+
#define PYJSONIC_VERSION "1.1"
2020

2121
typedef struct {
2222
PyObject_HEAD

setup.cfg

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[metadata]
22
name = pyjsonic
3-
version = 1.0
3+
version = 1.1
44
author = Oğuzhan Eroğlu
55
author-email = [email protected]
66
home-page = https://github.com/rohanrhu/python-jsonic

setup.py

Lines changed: 20 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,12 @@
88
# Copyright (C) 2019, Oğuzhan Eroğlu (https://oguzhaneroglu.com/) <[email protected]>
99
#
1010

11-
from distutils.core import setup, Extension
11+
from setuptools import setup, Extension
12+
from os import path
13+
14+
this_directory = path.abspath(path.dirname(__file__))
15+
with open(path.join(this_directory, 'README.md'), encoding='utf-8') as f:
16+
long_description = f.read()
1217

1318
jsonic = Extension(
1419
"pyjsonic",
@@ -20,7 +25,18 @@
2025

2126
setup(
2227
name = "pyjsonic",
23-
version = "1.0",
24-
description = "Python bindings for Jsonic library.",
25-
ext_modules = [jsonic]
28+
version = "1.1",
29+
description = "Python bindings for Jsonic JSON reader library.",
30+
long_description = long_description,
31+
long_description_content_type='text/markdown',
32+
author = "Oğuzhan Eroğlu",
33+
author_email = "[email protected]",
34+
url = "https://github.com/rohanrhu/python-jsonic",
35+
ext_modules = [jsonic],
36+
data_files = [
37+
("headers", [
38+
"python-jsonic.h",
39+
"lib/jsonic/jsonic.h"
40+
])
41+
]
2642
)

0 commit comments

Comments
 (0)