Skip to content

Commit

Permalink
Adding reqs and setup.py
Browse files Browse the repository at this point in the history
  • Loading branch information
sarcasticadmin committed Aug 12, 2019
1 parent 6f53363 commit 632de39
Show file tree
Hide file tree
Showing 2 changed files with 57 additions and 0 deletions.
18 changes: 18 additions & 0 deletions requirements.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
attrs==19.1.0
certifi==2019.6.16
chardet==3.0.4
filelock==3.0.12
hvac==0.9.5
idna==2.8
importlib-metadata==0.19
packaging==19.1
pluggy==0.12.0
py==1.8.0
pyparsing==2.4.2
requests==2.22.0
six==1.12.0
toml==0.10.0
tox==3.13.2
urllib3==1.25.3
virtualenv==16.7.2
zipp==0.5.2
39 changes: 39 additions & 0 deletions setup.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,39 @@
# -*- coding: utf-8 -*-

from setuptools import setup, find_packages
from distutils.core import Command


class DisabledCommands(Command):
user_options = []

def initialize_options(self):
raise Exception('This command is disabled')

def finalize_options(self):
raise Exception('This command is disabled')


with open('README.md') as f:
readme = f.read()

requirements = [
'hvac==0.9.5'
]

# Version here doesnt matter much since we are not
# installing this outside of our repo or shipping
# to pypi
setup(
version='0.1.0',
name='vault-kv-migrate',
description='Sample package for Python-Guide.org',
long_description=readme,
author='Drew Mullen',
author_email='[email protected]',
url='https://github.com/drewmullen/vault-kv-migrate',
packages=find_packages(exclude=('tests', 'docs')),
install_requires=requirements,
cmdclass={'register': DisabledCommands,
'upload': DisabledCommands}
)

0 comments on commit 632de39

Please sign in to comment.