Skip to content

Commit 5a45920

Browse files
committed
Updated setup
1 parent 7d32157 commit 5a45920

File tree

4 files changed

+12
-7
lines changed

4 files changed

+12
-7
lines changed

LICENSE.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
Copyright (c) 2012 Timmy O'Mahony
1+
Copyright (c) 2018 Timmy O'Mahony
22

33
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:
44

MANIFEST.in

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
include *.txt
2+
include *.md
3+
recursive-include charsleft_widget/static/ *.js *.css
4+
recursive-include charsleft_widget/locale/ *.mo *.po

charsleft_widget/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
VERSION = ("0","0","1")
1+
VERSION = ("0","1","0")

setup.py

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -3,25 +3,26 @@
33

44
from charsleft_widget import VERSION
55

6-
f = open(os.path.join(os.path.dirname(__file__), 'README.md'))
7-
readme = f.read()
8-
f.close()
96

107
setup(
118
name='django-charsleft-widget',
129
version=".".join(map(str, VERSION)),
1310
license='BSD License',
14-
description='A django widget that displays a normal text input with a remaining character count beside it.',
15-
long_description=readme,
1611
author="Timmy O'Mahony",
1712
author_email='[email protected]',
13+
description='A django widget that displays a normal text input with a remaining character count beside it.',
14+
long_description=open('README.md').read(),
1815
url='https://github.com/timmyomahony/django-charsleft-widget',
1916
packages=find_packages(),
2017
package_data={
2118
'charsleft_widget': [
2219
],
2320
},
2421
include_package_data=True,
22+
# _Should_ work back to 1.10 but untested
23+
install_requires=[
24+
"Django >= 1.8",
25+
],
2526
zip_safe=False,
2627
classifiers=[
2728
'Development Status :: 4 - Beta',

0 commit comments

Comments
 (0)