-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsetup.py
executable file
·38 lines (33 loc) · 1005 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
35
36
37
38
#!/usr/bin/env python
# -*- coding: utf-8 -*-
import os
from setuptools import setup, find_packages
import humilis_streams.metadata as metadata
try:
import pypandoc
long_description = pypandoc.convert_file('README.md', 'rst')
except(IOError, ImportError, RuntimeError):
if os.path.isfile("README.md"):
long_description = open("README.md").read()
else:
long_description = metadata.description
setup(
name=metadata.project,
include_package_data=True,
packages=find_packages(),
version=metadata.version,
author=metadata.authors_string,
author_email=metadata.emails[0],
url=metadata.url,
license=metadata.license,
description=metadata.description,
long_description=long_description,
install_requires=[
"humilis>=0.3.0"],
classifiers=[
"Programming Language :: Python :: 3"],
zip_safe=False,
entry_points={
"humilis.layers": [
"streams=humilis_streams.__init__:get_layer_path"]}
)