1 # Copyright (c) 2010-2015 Richard Lincoln. All rights reserved.
2 # Use of this source code is governed by a BSD-style
3 # license that can be found in the LICENSE file.
5 from setuptools
import setup
, find_packages
11 author
='Richard Lincoln',
12 author_email
='r.w.lincoln@gmail.com',
13 description
='Solves power flow and optimal power flow problems',
14 long_description
='\n\n'.join(
15 open(f
, 'rb').read().decode('utf-8')
16 for f
in ['README.rst', 'CHANGELOG.rst']),
17 url
='https://github.com/rwl/PYPOWER',
20 # Deactivated to avoid problems with system packages.
21 # Manual installation of NumPy and SciPy required.
25 entry_points
={'console_scripts': [
26 'pf = pypower.main:pf',
27 'opf = pypower.main:opf'
29 packages
=find_packages(),
30 include_package_data
=True,
32 'Development Status :: 5 - Production/Stable',
33 'Environment :: Console',
34 'Intended Audience :: Developers',
35 'Intended Audience :: Education',
36 'Intended Audience :: Science/Research',
37 'License :: OSI Approved :: BSD License',
38 'Natural Language :: English',
39 'Operating System :: OS Independent',
40 'Programming Language :: Python',
41 'Programming Language :: Python :: 2',
42 'Programming Language :: Python :: 2.7',
43 'Programming Language :: Python :: 3',
44 'Programming Language :: Python :: 3.7',
45 'Programming Language :: Python :: 3.8',
46 'Programming Language :: Python :: 3.9',
47 'Topic :: Scientific/Engineering',