diff --git a/djangoldp/__init__.py b/djangoldp/__init__.py index ed2171212bcb88a02d02fa1822197a68c7a13df9..790f02aa4e153fc4e9fbf41a833590d4bba23a5e 100644 --- a/djangoldp/__init__.py +++ b/djangoldp/__init__.py @@ -1,3 +1,4 @@ from django.db.models import options +__version__ = '0.0.0' options.DEFAULT_NAMES += ('rdf_type', 'auto_author') diff --git a/setup.cfg b/setup.cfg new file mode 100644 index 0000000000000000000000000000000000000000..d32f4c46e12f7aa008e8c37d7aec9492aa4544a6 --- /dev/null +++ b/setup.cfg @@ -0,0 +1,25 @@ +[metadata] +name = djangoldp +version = attr: djangoldp.__version__ +url = 'https://git.happy-dev.fr/happy-dev/djangoldp/' +author = "Startin'blox" +author_email = 'sylvain@happy-dev.fr' +description = 'Linked Data Platform interface for Django Rest Framework' +license = 'MIT' + +[options] +packages = + djangoldp + djangoldp.migrations +setup_requires = + django~=1.11 +install_requires = + django~=1.11 + django_rest_framework + pyld + django-guardian + +[semantic_release] +version_source = tag +version_variable = djangoldp/__init__.py:__version__ +commit_parser = commit_parser.parser diff --git a/setup.py b/setup.py index 0311fe15716161c4cfaa945642f687bd3c4209b3..beda28e821662c8d9fdefee034d83a5d75f9c023 100644 --- a/setup.py +++ b/setup.py @@ -1,20 +1,5 @@ +#!/usr/bin/env python + from setuptools import setup -setup( - name='djangoldp', - version='0.5a12', - url='https://git.happy-dev.fr/happy-dev/djangoldp/', - author="Startin'blox", - author_email='sylvain@happy-dev.fr', - description='Linked Data Platform interface for Django Rest Framework', - packages=['djangoldp', 'djangoldp.migrations'], - zip_safe=False, - platforms='any', - license='MIT', - install_requires=[ - 'django~=1.11', - 'django_rest_framework', - 'pyld', - 'django-guardian', - ], -) +setup()