Added version information.
This commit is contained in:
parent
c8ff849e87
commit
ef73559f62
@ -0,0 +1,5 @@
|
|||||||
|
from bootstrapform.meta import VERSION
|
||||||
|
|
||||||
|
|
||||||
|
__version__ = str(VERSION)
|
||||||
|
|
5
bootstrapform/meta.py
Normal file
5
bootstrapform/meta.py
Normal file
@ -0,0 +1,5 @@
|
|||||||
|
from distutils.version import StrictVersion
|
||||||
|
|
||||||
|
|
||||||
|
VERSION = StrictVersion('0.1.0')
|
||||||
|
|
2
setup.py
2
setup.py
@ -1,9 +1,11 @@
|
|||||||
from setuptools import setup, find_packages
|
from setuptools import setup, find_packages
|
||||||
|
from bootstrapform.meta import VERSION
|
||||||
|
|
||||||
|
|
||||||
setup(name='django-bootstrap-form',
|
setup(name='django-bootstrap-form',
|
||||||
author='Matt Austin', author_email='mail@mattaustin.me.uk',
|
author='Matt Austin', author_email='mail@mattaustin.me.uk',
|
||||||
url='https://github.com/MattAustin/django-bootstrap-form',
|
url='https://github.com/MattAustin/django-bootstrap-form',
|
||||||
|
version=str(VERSION),
|
||||||
packages=find_packages(),
|
packages=find_packages(),
|
||||||
include_package_data=True,
|
include_package_data=True,
|
||||||
install_requires=['django'],
|
install_requires=['django'],
|
||||||
|
Loading…
x
Reference in New Issue
Block a user