Skip to content

Commit 877fe07

Browse files
author
Dorian Birraux
committed
Setup.py improvement after some iterations on pypi.
1 parent fc842ee commit 877fe07

File tree

3 files changed

+62
-213
lines changed

3 files changed

+62
-213
lines changed

README.rst

Lines changed: 33 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,33 @@
1+
.. image:: https://www.wolframcloud.com/objects/dorianb/lcl/python/doc/_static/python-client-library-logo.png
2+
:alt: Wolfram Logo
3+
4+
5+
##########################################
6+
Wolfram Client library for Python
7+
##########################################
8+
9+
The Wolfram Client Library is provide seamless Wolfram Language integration in Python. A list of features provided by the library:
10+
11+
* evaluate arbitrary code on a local kernel,
12+
* evaluate arbitrary code on Wolfram cloud, public or private,
13+
* call deployed `APIFunction`,
14+
* build Python functions on top of Wolfram Language functions,
15+
* represent arbitrary Wolfram Language code as Python object,
16+
* serialize Python object to Wolfram Language string `InputForm`,
17+
* serialize Python object to `WXF`,
18+
* extend serialization to any arbitrary Python class,
19+
* parse `WXF` encoded expressions.
20+
21+
#########################
22+
Project Information
23+
#########################
24+
25+
Licencing
26+
=============
27+
28+
This project is released under MIT licence.
29+
30+
Contributions
31+
=============
32+
33+
The library is maintained by Wolfram Research. The code is on Github. Pull requests and suggestions are always welcomed.

readme.md

Lines changed: 0 additions & 206 deletions
This file was deleted.

setup.py

Lines changed: 29 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@
33
from __future__ import absolute_import, print_function, unicode_literals
44

55
import sys
6+
import os
67

78
try:
89
from setuptools import setup, find_packages
@@ -16,19 +17,40 @@
1617
1718
""")
1819

20+
HERE = os.path.abspath(os.path.dirname(__file__))
21+
22+
CLASSIFIERS = [
23+
"License :: OSI Approved :: MIT License",
24+
"Programming Language :: Python",
25+
"Programming Language :: Python :: 2",
26+
"Programming Language :: Python :: 2.7",
27+
"Programming Language :: Python :: 3",
28+
"Programming Language :: Python :: 3.4",
29+
"Programming Language :: Python :: 3.5",
30+
"Programming Language :: Python :: 3.6",
31+
"Programming Language :: Python :: 3.7",
32+
"Topic :: Software Development :: Libraries :: Wolfram Language Library"
33+
]
34+
35+
36+
def read(*rellibpath):
37+
with open(os.path.join(HERE, *rellibpath), 'r', encoding='utf-8') as fp:
38+
return fp.read()
39+
40+
1941
setup(
2042
name = 'wolframclient',
21-
version = '1.0rc1',
43+
version = '1.0.1dev5',
2244
description = 'A Python library with various tools to interact with the Wolfram Language and the Wolfram Cloud.',
45+
long_description = read('README.rst'),
46+
long_description_content_type = 'text/x-rst',
47+
keywords=['Wolfram Language', 'Wolfram Desktop', 'Mathematica', 'parser', 'serializer', 'WXF'],
2348
author = 'Wolfram Research',
24-
author_email = [
25-
'dorianb@wolfram.com',
26-
'riccardod@wolfram.com'
27-
],
49+
author_email = 'dorianb@wolfram.com, riccardod@wolfram.com',
2850
include_package_data=True,
2951
packages=find_packages(),
3052
test_suite='wolframclient.tests',
31-
python_requires='>=2.7',
53+
python_requires='>=2.7, !=3.0.*, !=3.1.*, !=3.2.*, !=3.3.*',
3254
install_requires = [
3355
'pip',
3456
'numpy',
@@ -39,7 +61,7 @@
3961
],
4062
project_urls={
4163
'Source code': 'https://github.com/WolframResearch/TODO',
42-
'Documentation': 'todo',
64+
'Documentation': 'https://www.wolframcloud.com/objects/dorianb/lcl/python/doc/intro.html',
4365
'Wolfram Research': 'https://www.wolfram.com'
4466
}
4567
)

0 commit comments

Comments
 (0)