Skip to content

Commit

Permalink
new structure
Browse files Browse the repository at this point in the history
  • Loading branch information
oscarsjogren committed May 26, 2017
1 parent 469ddb3 commit 79f939a
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 15 deletions.
3 changes: 2 additions & 1 deletion MANIFEST.in
Original file line number Diff line number Diff line change
@@ -1 +1,2 @@
include README.rst
# Include the license file
include LICENSE.txt
26 changes: 12 additions & 14 deletions setup.py
Original file line number Diff line number Diff line change
@@ -1,23 +1,23 @@
from setuptools import setup, find_packages

try:
from distutils.command.build_py import build_py_2to3 as build_py
from pypandoc import convert
except ImportError:
from distutils.command.build_py import build_py

def readme():
with open('README.md') as f:
return f.read()
warnings.append("warning: pypandoc module not found, could not convert Markdown to RST")
import codecs
read_md = lambda f: codecs.open(f, 'r', 'utf-8').read()
else:
read_md = lambda f: convert(f, 'rst')

setup(name='ezclimate',
version='1.0.1',
version='1.2.0b1',
description='EZ-Climate model',
long_description=readme(),
long_description=read_md('README.md'),
classifiers=[
'Development Status :: 3 - Alpha',
'Development Status :: 4 - Beta',
'License :: OSI Approved :: MIT License',
'Programming Language :: Python :: 3, 2',
'Topic :: Climat Change :: Pricing SCC',
'Programming Language :: Python :: 2.7',
'Programming Language :: Python :: 3.4'
],
keywords='EZ-climate, social cost of carbon, SCC, climate pricing',
url='https://github.com/Litterman/EZClimate',
Expand All @@ -26,8 +26,6 @@ def readme():
packages=find_packages(),
install_requires=['numpy',],
include_package_data=False,
zip_safe=True,
cmdclass = {'build_py': build_py},
use_2to3=True
zip_safe=True
)

0 comments on commit 79f939a

Please sign in to comment.