|
2 | 2 | # Copyright (C) 2017-2018 Pico Technology Ltd. |
3 | 3 | # |
4 | 4 | from __future__ import print_function |
5 | | -from distutils.core import setup |
| 5 | +from setuptools import setup |
6 | 6 |
|
7 | 7 | import ctypes |
8 | 8 | from ctypes import * |
|
25 | 25 | exit(1) |
26 | 26 | open(signalfile, 'a').close() |
27 | 27 |
|
28 | | - |
29 | | -setup(name='PicoSDK', |
30 | | - version='1.0', |
31 | | - description='PicoSDK Python wrapper', |
32 | | - author='Pico Technology Ltd', |
33 | | - |
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 | + |
| 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