-
Notifications
You must be signed in to change notification settings - Fork 20
Expand file tree
/
Copy pathsetup.py
More file actions
63 lines (53 loc) · 1.64 KB
/
Copy pathsetup.py
File metadata and controls
63 lines (53 loc) · 1.64 KB
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
#!/usr/bin/env python3
from setuptools import setup
#: MAJOR, MINOR, RELEASE, STATUS [alpha, beta, final], VERSION
_VERSION = (1, 4, 5)
def get_version():
"""
Returns a string representation of the version information of this project.
"""
return ".".join([str(i) for i in _VERSION])
with open("README.rst") as f:
readme = f.read()
with open("CHANGES.rst") as f:
changes = f.read()
description = (
"A module and utility to work with the simple filesystem on "
"the BBC micro:bit"
)
setup(
name="microfs",
version=get_version(),
description=description,
long_description=readme + "\n\n" + changes,
author="Nicholas H.Tollervey",
author_email="ntoll@ntoll.org",
url="https://github.com/ntoll/microfs",
py_modules=[
"microfs",
],
license="MIT",
install_requires=[
"pyserial>=3.0.1,<4.0",
],
classifiers=[
"Development Status :: 4 - Beta",
"Environment :: Console",
"Intended Audience :: Developers",
"Intended Audience :: Education",
"License :: OSI Approved :: MIT License",
"Operating System :: POSIX",
"Operating System :: Microsoft :: Windows",
"Programming Language :: Python :: 2.7",
"Programming Language :: Python :: 3.3",
"Programming Language :: Python :: 3.4",
"Programming Language :: Python :: 3.5",
"Programming Language :: Python :: 3.6",
"Programming Language :: Python :: 3.7",
"Topic :: Education",
"Topic :: Software Development :: Embedded Systems",
],
entry_points={
"console_scripts": ["ufs=microfs:main"],
},
)