diff --git a/LICENSE.txt b/LICENSE.txt index 9793ad3..d7fdba1 100644 --- a/LICENSE.txt +++ b/LICENSE.txt @@ -1,4 +1,4 @@ -Copyright (c) 2012 Timmy O'Mahony +Copyright (c) 2018 Timmy O'Mahony Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: diff --git a/MANIFEST.in b/MANIFEST.in new file mode 100644 index 0000000..f92cb42 --- /dev/null +++ b/MANIFEST.in @@ -0,0 +1,4 @@ +include *.txt +include *.md +recursive-include charsleft_widget/static/ *.js *.css +recursive-include charsleft_widget/locale/ *.mo *.po \ No newline at end of file diff --git a/charsleft_widget/__init__.py b/charsleft_widget/__init__.py index 993d43b..fa8c8af 100644 --- a/charsleft_widget/__init__.py +++ b/charsleft_widget/__init__.py @@ -1 +1 @@ -VERSION = ("0","0","1") \ No newline at end of file +VERSION = ("0","1","0") \ No newline at end of file diff --git a/setup.py b/setup.py index 1354b67..5f3fcc7 100644 --- a/setup.py +++ b/setup.py @@ -3,18 +3,15 @@ from charsleft_widget import VERSION -f = open(os.path.join(os.path.dirname(__file__), 'README.md')) -readme = f.read() -f.close() setup( name='django-charsleft-widget', version=".".join(map(str, VERSION)), license='BSD License', - description='A django widget that displays a normal text input with a remaining character count beside it.', - long_description=readme, author="Timmy O'Mahony", author_email='hey@timmyomahony.com', + description='A django widget that displays a normal text input with a remaining character count beside it.', + long_description=open('README.md').read(), url='https://github.com/timmyomahony/django-charsleft-widget', packages=find_packages(), package_data={ @@ -22,6 +19,10 @@ ], }, include_package_data=True, + # _Should_ work back to 1.10 but untested + install_requires=[ + "Django >= 1.8", + ], zip_safe=False, classifiers=[ 'Development Status :: 4 - Beta',