-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathsetup.py
More file actions
30 lines (25 loc) · 755 Bytes
/
setup.py
File metadata and controls
30 lines (25 loc) · 755 Bytes
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
from setuptools import setup
import io
import os
here = os.path.abspath(os.path.dirname(__file__))
def read(*filenames, **kwargs):
encoding = kwargs.get('encoding', 'utf-8')
sep = kwargs.get('sep', '\n')
buf = []
for filename in filenames:
with io.open(filename, encoding=encoding) as f:
buf.append(f.read())
return sep.join(buf)
long_description = read('README.rst')
setup(
name='Origami',
version='0.3.2',
author='Joe Cross',
author_email='joe.mcross@gmail.com',
packages=['origami'],
url='https://github.com/numberoverzero/origami',
license='MIT',
description='Lightweight bit packing for classes',
long_description=long_description,
install_requires=["bitstring"]
)