-
Notifications
You must be signed in to change notification settings - Fork 1
/
setup.py
42 lines (38 loc) · 1.38 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
# https://coderwall.com/p/qawuyq
# Thanks James.
try:
import pypandoc
long_description = pypandoc.convert('README.md', 'rst')
except (IOError, ImportError):
long_description = ''
print 'warning: pandoc or pypandoc does not seem to be installed; using empty long_description'
import os
requirements_file = os.path.join(os.path.abspath(os.path.dirname(__file__)), 'requirements.txt')
with open(requirements_file, 'r') as f:
install_requires = [x.strip() for x in f.readlines()]
import importlib
from setuptools import setup
setup(
name='baiji-serialization',
version=importlib.import_module('baiji.serialization').__version__,
author='Body Labs',
author_email='[email protected], [email protected]',
description='Read and write common file formats to Amazon S3 and local files',
long_description=long_description,
url='https://github.com/bodylabs/baiji-serialization',
license='Apache',
packages=[
'baiji',
'baiji/serialization',
'baiji/serialization/util',
],
install_requires=install_requires,
# See https://pypi.python.org/pypi?%3Aaction=list_classifiers
classifiers=[
'Development Status :: 3 - Alpha',
'Intended Audience :: Developers',
'License :: OSI Approved :: MIT License',
'Operating System :: OS Independent',
'Programming Language :: Python',
]
)