-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.py
47 lines (35 loc) · 1.09 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
45
46
47
from setuptools import (
setup,
find_packages,
)
# read requirements.txt for requres, filter comments and newlines.
sanitize = lambda x : not x.startswith('#') and not x.startswith('\n')
with open('requirements.txt', 'r') as f:
requires = filter(sanitize, f.readlines())
setup(
name = 's3p',
version = '0.1.3',
description = 's3p: Create process by promoting releases in an AWS S3 pipeline',
keywords = 's3p process pipeline promote release',
long_description = open('readme.rst').read(),
author = 'Russell Ballestrini',
author_email = 'russell@ballestrini.net',
url = 'https://github.com/russellballestrini/s3p',
platforms = ['All'],
license = 'Public Domain',
packages = find_packages(),
install_requires = requires,
entry_points = {
'console_scripts': ['s3p=s3p.cli:main',],
},
)
"""
setup()
keyword args: http://peak.telecommunity.com/DevCenter/setuptools
configure pypi username and password in ~/.pypirc::
[pypi]
username:
password:
build and upload to pypi with this::
python setup.py sdist bdist_egg register upload
"""