forked from juliomalegria/python-craigslist
-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.py
34 lines (27 loc) · 805 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
32
33
34
#!/usr/bin/env python
try:
from setuptools import setup
except ImportError:
from distutils.core import setup
with open('VERSION.txt', 'r') as v:
version = v.read().strip()
with open('REQUIREMENTS.txt', 'r') as r:
requires = r.read().split()
with open('README.rst', 'r') as r:
readme = r.read()
download_url = (
'https://github.com/juliomalegria/python-craigslist/tarball/%s'
)
setup(
name='python-craigslist',
packages=['craigslist'],
version=version,
description=('Simple Craigslist wrapper.'),
long_description=readme,
author='Julio M Alegria',
author_email='[email protected]',
url='https://github.com/juliomalegria/python-craigslist',
download_url=download_url % version,
install_requires=requires,
license='MIT-Zero'
)