-
Notifications
You must be signed in to change notification settings - Fork 49
/
Copy pathsetup.py
71 lines (60 loc) · 2.14 KB
/
setup.py
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
# -*- coding: utf-8 -*-
from __future__ import absolute_import, print_function, unicode_literals
import sys
import os
# used for the sake of Python2 and 3 compatibility.
import codecs
try:
from setuptools import setup, find_packages
except ImportError:
sys.stderr.write("""Could not import setuptools or your version
of the package is out of date.
Make sure you have pip and setuptools installed and upgraded and try again:
$ python -m pip install --upgrade pip setuptools
$ python setup.py install
""")
HERE = os.path.abspath(os.path.dirname(__file__))
CLASSIFIERS = [
"License :: OSI Approved :: MIT License",
"Programming Language :: Python",
"Programming Language :: Python :: 3"
"Programming Language :: Python :: 3.5",
"Programming Language :: Python :: 3.6",
"Programming Language :: Python :: 3.7",
"Topic :: Software Development :: Libraries :: Wolfram Language Library"
]
def read(*rellibpath):
with codecs.open(os.path.join(HERE, *rellibpath), 'r', encoding='utf-8') as fp:
return fp.read()
def load_tests():
import unittest
from wolframclient.cli.commands.test import Command as TestCommand
TestCommand().handle()
setup(
name = 'wolframclient',
version = '1.0.0.dev3',
description = 'A Python library with various tools to interact with the Wolfram Language and the Wolfram Cloud.',
long_description = read('README.rst'),
long_description_content_type = 'text/x-rst',
keywords=['Wolfram Language', 'Wolfram Desktop', 'Mathematica', 'parser', 'serializer', 'WXF'],
author = 'Wolfram Research',
author_email = 'dorianb@wolfram.com, riccardod@wolfram.com',
include_package_data=True,
packages=find_packages(),
test_suite='setup.load_tests',
python_requires='>=3.5.3',
install_requires = [
'pip',
'numpy',
'pytz',
'requests',
'aiohttp',
'oauthlib',
'zmq',
],
project_urls={
'Source code': 'https://github.com/WolframResearch/WolframClientForPython',
'Documentation': 'https://wolfr.am/wolframclientdoc',
'Wolfram Research': 'https://www.wolfram.com'
}
)