-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsetup.py
23 lines (19 loc) · 911 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
# coding: utf-8
import setuptools
def parse_requirements(filename):
with open(filename, 'r') as f:
return f.read().splitlines()
setuptools.setup(
name='fixedwidthwriter',
packages=['fixedwidthwriter'], # this must be the same as the name above
version='1.0.1',
description='A class to write fixed-width files with an interface similar to python`s csv writer',
author='Arthur Bressan',
author_email='[email protected]',
url='https://github.com/HardDiskD/py-fixedwidthwriter', # use the URL to the github repo
download_url='https://github.com/HardDiskD/py-fixedwidthwriter/tarball/1.0.1',
keywords=['file writer', 'fixed width'], # arbitrary keywords
classifiers=[],
install_requires=parse_requirements('requirements.txt')
)
# thanks to Peter Downs for posting his upload guide to PyPI at http://peterdowns.com/posts/first-time-with-pypi.html