-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathsetup.py
42 lines (40 loc) · 1.23 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
#!/usr/bin/env python
# -*- coding: utf-8 -*-
from __future__ import unicode_literals
from setuptools import setup, find_packages
import shop_discounts
try:
from pypandoc import convert
except ImportError:
def convert(filename, fmt):
with open(filename) as fd:
return fd.read()
CLASSIFIERS = [
'Environment :: Web Environment',
'Framework :: Django',
'Intended Audience :: Developers',
'License :: OSI Approved :: MIT License',
'Operating System :: OS Independent',
'Programming Language :: Python',
'Topic :: Software Development :: Libraries :: Application Frameworks',
'Topic :: Internet :: WWW/HTTP :: Dynamic Content',
]
setup(
author="Jacob Rief",
name='djangoshop-discounts',
version=shop_discounts.__version__,
description="Discounts for elected customers in django-SHOP",
long_description=convert('README.md', 'rst'),
url='https://github.com/jrief/djangoshop-discounts',
license='MIT License',
platforms=['OS Independent'],
classifiers=CLASSIFIERS,
install_requires=[
'Django>=1.9',
'django-shop>=0.9.2',
],
packages=find_packages(),
include_package_data=True,
zip_safe=False,
)