Merge pull request #23 from aaronjeline/master

setup.py fix
This commit is contained in:
2016-12-20 12:12:04 -05:00
committed by GitHub
+8 -2
View File
@@ -3,10 +3,16 @@
import os
import sys
import codecs
from setuptools import setup
here = os.path.abspath(os.dirname(__file__))
def read(*parts):
return codecs.open(os.path.join(here, *parts), 'r').read()
if sys.argv[-1] == "publish":
os.system("python setup.py sdist bdist_wheel upload")
sys.exit()
@@ -16,7 +22,7 @@ required = [
'pytz',
'dateparser',
'iso8601',
'python-dateutil'
'python-dateutil',
'ruamel.yaml'
]
@@ -24,7 +30,7 @@ setup(
name='maya',
version='0.1.1',
description='Datetimes for Humans.',
long_description=open('README.rst').read(),
long_description= '\n' + read('README.rst'),
author='Kenneth Reitz',
author_email='me@kennethreitz.com',
url='https://github.com/kennethreitz/maya',