-
Notifications
You must be signed in to change notification settings - Fork 13
/
Copy pathsetup.py
42 lines (36 loc) · 1.17 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
import os
try:
from setuptools import setup, find_packages
except ImportError:
from distutils.core import setup, find_packages
def read(fname):
return open(os.path.join(os.path.dirname(__file__), fname)).read()
def parse_requirements(filename):
""" load requirements from a pip requirements file """
lineiter = (line.strip() for line in open(filename))
return [line for line in lineiter if line and not line.startswith("#")]
install_reqs = parse_requirements('requirements.txt')
reqs = install_reqs
setup(
name='digital-ocean-spaces',
version='0.2.5',
author='Jody Doolittle <https://chariot-dev.com>',
license='MIT',
url='https://github.com/ChariotDev/digital-ocean-spaces',
description = 'An MIT licensed python client for Digital Ocean Spaces with a built in shell.',
long_description = open('README.md').read(),
long_description_content_type='text/markdown',
packages=['spaces'],
package_dir={'spaces': ''},
package_data={'spaces': [
'__init__.py',
'client.py',
'LICENSE',
'*.template',
'utils/*.py',
"*.txt",
"*.md"
],
},
install_requires=reqs,
)