Skip to content

Commit

Permalink
Include a more friendly package format with setup.py etc.
Browse files Browse the repository at this point in the history
  • Loading branch information
nworbmot committed Jan 19, 2016
1 parent 345a74f commit 388a269
Show file tree
Hide file tree
Showing 10 changed files with 43 additions and 2 deletions.
8 changes: 8 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -20,3 +20,11 @@ test/results/*


doc/_build/

build/

dist/

pypsa.egg-info/

files.txt
6 changes: 4 additions & 2 deletions doc/installation.rst
Original file line number Diff line number Diff line change
Expand Up @@ -24,5 +24,7 @@ In a unix-based environment these packages can be obtained with the


To install PyPSA, you need to download the code from the `PyPSA github
repository <https://github.com/fresna/pypsa/>`_ and then add the
directory to your python path.
repository <https://github.com/fresna/pypsa/>`_ and then go to the
local repository and run::

python setup.py install
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
2 changes: 2 additions & 0 deletions setup.cfg
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
[bdist_wheel]
universal = 1
29 changes: 29 additions & 0 deletions setup.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@



from setuptools import setup, find_packages
from codecs import open


with open('README.rst', encoding='utf-8') as f:
long_description = f.read()

setup(
name='pypsa',
version='0.2',
author='Tom Brown (FIAS), Jonas Hoersch (FIAS)',
author_email='[email protected]',
description='Python for Power Systems Analysis',
long_description=long_description,
url='https://github.com/FRESNA/PyPSA',
license='GPLv2',
packages=find_packages(exclude=['doc', 'test']),
install_requires=['numpy','pyomo','scipy'],
classifiers=[
'Development Status :: 3 - Alpha',
'Environment :: Console',
'Intended Audience :: Science/Research',
'License :: OSI Approved :: GNU General Public License v3 or later (GPLv3+)',
'Natural Language :: English',
'Operating System :: OS Independent',
])

0 comments on commit 388a269

Please sign in to comment.