-
Notifications
You must be signed in to change notification settings - Fork 4
/
setup.py
61 lines (55 loc) · 2.06 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
import os.path
import sys
from setuptools import setup
setupdir = os.path.dirname(__file__)
for line in open(os.path.join(setupdir, "pipkin", "__init__.py")).read().splitlines():
if line.startswith("__version__"):
version = line.split('"')[1]
break
else:
raise RuntimeError("Unable to find version string.")
requirements = []
for line in open(os.path.join(setupdir, "requirements.txt"), encoding="ASCII"):
if line.strip() and not line.startswith("#"):
requirements.append(line)
with open(os.path.join(setupdir, "README.rst")) as fp:
long_description = fp.read()
setup(
name="pipkin",
version=version,
description="Tool for installing packages for MicroPython and CircuitPython",
long_description=long_description,
url="https://github.com/aivarannamaa/pipkin",
author="Aivar Annamaa",
license="MIT",
classifiers=[
"Development Status :: 4 - Beta",
"Environment :: Console",
"Intended Audience :: Developers",
"License :: Freeware",
"License :: OSI Approved :: MIT License",
"Natural Language :: English",
"Operating System :: MacOS",
"Operating System :: Microsoft :: Windows",
"Operating System :: POSIX",
"Operating System :: POSIX :: Linux",
"Programming Language :: Python",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3 :: Only",
"Programming Language :: Python :: 3.7",
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Topic :: Software Development",
],
keywords="MicroPython CircuitPython pip upip",
project_urls={
"Source code": "https://github.com/aivarannamaa/pipkin",
"Bug tracker": "https://github.com/aivarannamaa/pipkin/issues",
},
platforms=["Windows", "macOS", "Linux"],
install_requires=requirements,
python_requires=">=3.7",
packages=["pipkin"],
entry_points={"console_scripts": ["pipkin = pipkin:main"]},
)