forked from alexopryshko/django-serializer
-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.py
executable file
·45 lines (34 loc) · 1.3 KB
/
setup.py
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
import re
from os import path
from setuptools import setup, find_packages
BASE_DIR = path.abspath(path.dirname(__file__))
def find_version():
for line in open(path.join(BASE_DIR, 'django_serializer/__init__.py')):
if line.startswith('__version__'):
return re.match(r"""__version__\s*=\s*(['"])([^'"]+)\1""", line).group(2)
setup(
name='django-serializer',
version=find_version(),
description='Library for creating simple django api',
long_description='Library for creating simple django api',
author='Alexander Opryshko',
author_email='[email protected]',
url='https://github.com/alexopryshko/django-serializer',
license='MIT',
# See https://pypi.python.org/pypi?%3Aaction=list_classifiers
classifiers=[
'Development Status :: 3 - Alpha',
'Intended Audience :: Developers',
'Topic :: Software Development :: Build Tools',
'License :: OSI Approved :: MIT License',
'Programming Language :: Python :: 3.4',
'Programming Language :: Python :: 3.5',
'Programming Language :: Python :: 3.6',
],
keywords='django-serializer setuptools development',
packages=find_packages(exclude=['contrib', 'docs', 'tests*']),
install_requires=[
'Django>=1.10',
'psycopg2>=2.6.2'
]
)