-
Notifications
You must be signed in to change notification settings - Fork 7
/
Copy pathsetup.py
31 lines (26 loc) · 941 Bytes
/
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
# -*- coding: utf-8 -*-
from setuptools import setup, find_packages
try: # for pip >= 10
from pip._internal.req import parse_requirements
except ImportError: # for pip <= 9.0.3
from pip.req import parse_requirements
install_reqs = parse_requirements('requirements.txt', session=False)
try:
reqs = [str(ir.req) for ir in install_reqs]
except AttributeError:
reqs = [str(ir.requirement) for ir in install_reqs]
setup(
name='django-google-address',
version='1.1.2',
author=u'Leonardo Arroyo',
author_email='[email protected]',
packages=find_packages(),
include_package_data=True,
url='https://github.com/leonardoarroyo/django-google-address',
download_url='https://github.com/leonardoarroyo/django-google-address/tarball/1.1.0',
license='MIT',
description='',
long_description=open('README.rst', encoding='utf-8').read(),
zip_safe=False,
install_requires=reqs
)