forked from unt-libraries/django-name
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsetup.py
45 lines (41 loc) · 1.29 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
#! /usr/bin/env python
import os
import re
from setuptools import setup, find_packages
version = ''
with open('name/__init__.py', 'r') as fd:
version = re.search(r'^__version__\s*=\s*[\'"]([^\'"]*)[\'"]',
fd.read(), re.MULTILINE).group(1)
readme = ''
with open(os.path.join(os.path.dirname(__file__), 'README.md')) as fd:
readme = fd.read()
install_requires = [
'python-dateutil',
'markdown2',
'djangorestframework >= 3.1',
'pynaco == 0.1.0'
]
setup(
name='django-name',
version=version,
packages=find_packages(exclude=["tests.*", "tests"]),
include_package_data=True,
license='BSD',
description='Name Authority App for Django.',
long_description=readme,
keywords='django name citation',
author='University of North Texas Libraries',
author_email='mark.phillips@unt.edu',
url='https://github.com/unt-libraries/django-name',
zip_safe=False,
install_requires=install_requires,
classifiers=[
'Environment :: Web Environment',
'Framework :: Django',
'Intended Audience :: End Users/Desktop',
'Natural Language :: English',
'Programming Language :: Python',
'Programming Language :: Python :: 2.7',
'Topic :: Internet :: WWW/HTTP :: WSGI :: Application'
]
)