forked from bodylabs/baiji-serialization
-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.py
44 lines (40 loc) · 1.46 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
43
44
from __future__ import print_function
# 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='metabaiji-serialization',
version=importlib.import_module('baiji.serialization').__version__,
author='Body Labs',
author_email='[email protected]',
description='Read and write common file formats to Amazon S3 and local files',
long_description=long_description,
url='https://github.com/metabolize/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 :: Apache Software License',
'Operating System :: OS Independent',
'Programming Language :: Python :: 2.7',
'Programming Language :: Python :: 3',
]
)