-
Notifications
You must be signed in to change notification settings - Fork 17
/
Copy pathsetup.py
61 lines (56 loc) · 1.82 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
# Authors: CircuitPy contributors
# License: BSD 3-Clause
from setuptools import setup
# Taken from scikit-commpy setup.py
DISTNAME = 'CircuitPy'
DESCRIPTION = 'Electric Circuit Analysis with Python'
LONG_DESCRIPTION = open('README.md', encoding="utf8").read()
MAINTAINER = 'Edson Porto da Silva'
MAINTAINER_EMAIL = '[email protected]'
URL = 'https://github.com/edsonportosilva/ElectriCircuits'
LICENSE = 'BSD 3-Clause'
VERSION = '0.1.0'
#This is a list of files to install, and where
#(relative to the 'root' dir, where setup.py is)
#You could be more specific.
files = ["circuit/*"]
setup(
name=DISTNAME,
maintainer=MAINTAINER,
maintainer_email=MAINTAINER_EMAIL,
description=DESCRIPTION,
license=LICENSE,
url=URL,
version=VERSION,
#Name the folder where your packages live:
#(If you have other packages (dirs) or modules (py files) then
#put them into the package directory - they will be found
#recursively.)
packages=['circuit'],
install_requires=[
'numpy',
'scipy',
'matplotlib',
'sympy',
],
#'package' package must contain files (see list above)
#This dict maps the package name =to=> directories
#It says, package *needs* these files.
package_data={'circuit': files},
#'runner' is in the root.
scripts=["runner"],
test_suite='nose.collector',
tests_require=['nose'],
long_description=LONG_DESCRIPTION,
long_description_content_type="text/markdown",
classifiers=[
'Development Status :: 4 - Beta',
'Intended Audience :: Teaching',
'Intended Audience :: Electrical Engineering',
'Operating System :: Unix',
'Programming Language :: Python',
'Topic :: Scientific/Engineering',
'Topic :: Software Development',
],
python_requires='>=3.2',
)