Adding Action for publishing to PYPI.
[PYPOWER.git] / setup.py
blob2486a78aae02ed0583bbff352115d048f844478e
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
8 setup(
9 name='PYPOWER',
10 version='5.1.16',
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',
18 license='BSD',
19 install_requires=[
20 # Deactivated to avoid problems with system packages.
21 # Manual installation of NumPy and SciPy required.
22 # 'numpy>=1.6',
23 # 'scipy>=0.9',
25 entry_points={'console_scripts': [
26 'pf = pypower.main:pf',
27 'opf = pypower.main:opf'
28 ]},
29 packages=find_packages(),
30 include_package_data=True,
31 classifiers=[
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',