Skip to content

Commit 1e9849b

Browse files
author
neil-hamilton
authored
Merge pull request picotech#31 from ksunden/setuptools
Use setuptools for setup.py
2 parents 97c73f0 + c823ef3 commit 1e9849b

File tree

1 file changed

+29
-10
lines changed

1 file changed

+29
-10
lines changed

setup.py

Lines changed: 29 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
# Copyright (C) 2017-2018 Pico Technology Ltd.
33
#
44
from __future__ import print_function
5-
from distutils.core import setup
5+
from setuptools import setup
66

77
import ctypes
88
from ctypes import *
@@ -25,12 +25,31 @@
2525
exit(1)
2626
open(signalfile, 'a').close()
2727

28-
29-
setup(name='PicoSDK',
30-
version='1.0',
31-
description='PicoSDK Python wrapper',
32-
author='Pico Technology Ltd',
33-
author_email='[email protected]',
34-
url='https://www.picotech.com',
35-
packages=['picosdk'],
36-
install_requires=['numpy>=1.12.1'])
28+
with open("README.md") as f:
29+
readme = f.read()
30+
31+
setup(
32+
name='picosdk',
33+
packages=['picosdk'],
34+
install_requires=["numpy>=1.12.1"],
35+
version='1.0',
36+
description='PicoSDK Python wrapper',
37+
long_description=readme,
38+
author='Pico Technology Ltd',
39+
author_email='[email protected]',
40+
license="ISC",
41+
url='https://www.picotech.com',
42+
classifiers=[
43+
"Development Status :: 5 - Production/Stable",
44+
"Intended Audience :: Science/Research",
45+
"License :: OSI Approved :: ISC License (ISCL)",
46+
"Natural Language :: English",
47+
"Programming Language :: Python :: 2.7",
48+
"Programming Language :: Python :: 3",
49+
"Programming Language :: Python :: 3.6",
50+
"Programming Language :: Python :: 3.7",
51+
"Programming Language :: Python :: 3.8",
52+
"Programming Language :: Python :: 3.9",
53+
"Topic :: Scientific/Engineering",
54+
],
55+
)

0 commit comments

Comments
 (0)