-
Notifications
You must be signed in to change notification settings - Fork 4
/
setup.py
40 lines (30 loc) · 1.26 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
import os
from setuptools import setup, find_packages
SETUP_DIR = os.path.dirname(os.path.abspath(__file__))
EXCLUDE_FROM_PACKAGES = ['doorstep.conf.project_settings',
'doorstep.bin']
# Dynamically calculate the version based on django.VERSION.
version = __import__('doorstep').get_version()
# Setup should be run from any extracted folder
os.chdir(SETUP_DIR)
# Getting setup's long descripton from README.md
with open(os.path.join(SETUP_DIR, 'README.md')) as readme:
README = readme.read()
setup(name='Doorstep',
version=version,
url='https://github.com/mysteryjeans/doorstep',
author='Faraz Masood Khan',
author_email='faraz@fanaticlab.com',
description='The powerful e-commerce solution for Django.',
long_description=README,
license='GPLv2',
packages=find_packages(exclude=EXCLUDE_FROM_PACKAGES),
include_package_data=True,
scripts=['doorstep/bin/doorstep-admin.py'],
install_requires=['Django>=1.8.13,<1.10',
'django-pipeline>=1.6',
'Pillow>=2.7.0',
'paypalrestsdk>=1.8',
'stripe>=1.21.0',
'pytz>=2014.10',
'sorl-thumbnail>=12.3'])