File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1616
1717#include "lib/jsonic/jsonic.h"
1818
19- #define PYJSONIC_VERSION "1.0 "
19+ #define PYJSONIC_VERSION "1.1 "
2020
2121typedef struct {
2222 PyObject_HEAD
Original file line number Diff line number Diff line change 11[metadata]
22name = pyjsonic
3- version = 1.0
3+ version = 1.1
44author = Oğuzhan Eroğlu
55author-email = rohanrhu2@gmail.com
66home-page = https://github.com/rohanrhu/python-jsonic
Original file line number Diff line number Diff line change 88# Copyright (C) 2019, Oğuzhan Eroğlu (https://oguzhaneroglu.com/) <rohanrhu2@gmail.com>
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
1318jsonic = Extension (
1419 "pyjsonic" ,
2025
2126setup (
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 = "rohanrhu2@gmail.com" ,
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)
You can’t perform that action at this time.
0 commit comments