FazBrowse GitHub Viewer
|
Trending
|
URL:
|
Home
Tools:
[Download Repo ZIP]
[View Raw Code]
[Original HTTPS Page]
python-can/setup.py at develop · feuerball/python-can · GitHub
feuerball
/
python-can
Public
forked from
hardbyte/python-can
Notifications
You must be signed in to change notification settings
Fork
0
Star
0
Code
Pull requests
0
Actions
Projects
Security and quality
0
Insights
Additional navigation options
Code
Pull requests
Actions
Projects
Security and quality
Insights
Expand file tree
Breadcrumbs
python-can
/
setup.py
Copy path
More file actions
More file actions
Latest commit
History
History
History
103 lines (95 loc) · 3.56 KB
Breadcrumbs
python-can
/
setup.py
Copy path
File metadata and controls
103 lines (95 loc) · 3.56 KB
Raw
Copy raw file
Download raw file
Open symbols panel
Edit and raw actions
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
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
#!/usr/bin/env python
"""
Setup script for the `can` package.
Learn more at https://github.com/hardbyte/python-can/
"""
# pylint: disable=invalid-name
from
os
import
listdir
from
os
.
path
import
isfile
,
join
import
re
import
logging
from
setuptools
import
setup
,
find_packages
logging
.
basicConfig
(
level
=
logging
.
WARNING
)
with
open
(
"can/__init__.py"
,
encoding
=
"utf-8"
)
as
fd
:
version
=
re
.
search
(
r'^__version__\s*=\s*[\'"]([^\'"]*)[\'"]'
,
fd
.
read
(),
re
.
MULTILINE
).
group
(
1
)
with
open
(
"README.rst"
,
encoding
=
"utf-8"
)
as
f
:
long_description
=
f
.
read
()
# Dependencies
extras_require
=
{
"seeedstudio"
: [
"pyserial>=3.0"
],
"serial"
: [
"pyserial~=3.0"
],
"neovi"
: [
"filelock"
,
"python-ics>=2.12"
],
"canalystii"
: [
"canalystii>=0.1.0"
],
"cantact"
: [
"cantact>=0.0.7"
],
"cvector"
: [
"python-can-cvector"
],
"gs_usb"
: [
"gs_usb>=0.2.1"
],
"nixnet"
: [
"nixnet>=0.3.2"
],
"pcan"
: [
"uptime~=3.0.1"
],
"remote"
: [
"python-can-remote"
],
"sontheim"
: [
"python-can-sontheim>=0.1.2"
],
"viewer"
: [
'windows-curses;platform_system=="Windows" and platform_python_implementation=="CPython"'
],
}
setup
(
# Description
name
=
"python-can"
,
url
=
"https://github.com/hardbyte/python-can"
,
description
=
"Controller Area Network interface module for Python"
,
long_description
=
long_description
,
long_description_content_type
=
"text/x-rst"
,
classifiers
=
[
# a list of all available ones: https://pypi.org/classifiers/
"Programming Language :: Python"
,
"Programming Language :: Python :: 3.7"
,
"Programming Language :: Python :: 3.8"
,
"Programming Language :: Python :: 3.9"
,
"Programming Language :: Python :: 3.10"
,
"Programming Language :: Python :: 3.11"
,
"Natural Language :: English"
,
"Programming Language :: Python :: Implementation :: CPython"
,
"Programming Language :: Python :: Implementation :: PyPy"
,
"License :: OSI Approved :: GNU Lesser General Public License v3 (LGPLv3)"
,
"Operating System :: MacOS"
,
"Operating System :: POSIX :: Linux"
,
"Operating System :: Microsoft :: Windows"
,
"Development Status :: 5 - Production/Stable"
,
"Environment :: Console"
,
"Intended Audience :: Developers"
,
"Intended Audience :: Education"
,
"Intended Audience :: Information Technology"
,
"Intended Audience :: Manufacturing"
,
"Intended Audience :: Telecommunications Industry"
,
"Natural Language :: English"
,
"Topic :: System :: Logging"
,
"Topic :: System :: Monitoring"
,
"Topic :: System :: Networking"
,
"Topic :: System :: Hardware :: Hardware Drivers"
,
"Topic :: Utilities"
,
],
version
=
version
,
packages
=
find_packages
(
exclude
=
[
"test*"
,
"doc"
,
"scripts"
,
"examples"
]),
scripts
=
list
(
filter
(
isfile
, (
join
(
"scripts/"
,
f
)
for
f
in
listdir
(
"scripts/"
)))),
author
=
"python-can contributors"
,
license
=
"LGPL v3"
,
package_data
=
{
""
: [
"README.rst"
,
"CONTRIBUTORS.txt"
,
"LICENSE.txt"
,
"CHANGELOG.md"
],
"doc"
: [
"*.*"
],
"examples"
: [
"*.py"
],
"can"
: [
"py.typed"
],
},
# Installation
# see https://www.python.org/dev/peps/pep-0345/#version-specifiers
python_requires
=
">=3.7"
,
install_requires
=
[
"setuptools"
,
"wrapt~=1.10"
,
"typing_extensions>=3.10.0.0"
,
'pywin32>=305;platform_system=="Windows" and platform_python_implementation=="CPython"'
,
'msgpack~=1.0.0;platform_system!="Windows"'
,
"packaging"
,
],
extras_require
=
extras_require
,
)
Back
|
FazBrowse Home
|
New Git URL