Skip to content

Commit

Permalink
Add MANIFEST
Browse files Browse the repository at this point in the history
  • Loading branch information
Vishal Gowda committed Mar 9, 2017
1 parent b127b57 commit 8ff32dd
Show file tree
Hide file tree
Showing 4 changed files with 34 additions and 6 deletions.
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,2 +1,4 @@
*.pyc
var/*
dist/
*egg-info*
11 changes: 11 additions & 0 deletions MANIFEST.in
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
include requirements.txt
include hedroid/common_settings.py
include hedroid/__init__.py
include hedroid/logger.py
include hedroid/master/__init__.py
include hedroid/master/thrift_client.py
recursive-include hedroid/master/tgen *
recursive-exclude hedroid/worker *
exclude hedroid/master/zk_master.py
exclude hedroid/master/thrift_server.py
exclude hedroid/master/settings.py
7 changes: 1 addition & 6 deletions requirements.txt
Original file line number Diff line number Diff line change
@@ -1,9 +1,4 @@
appdirs==1.4.2
packaging==16.8
psutil==5.1.3
pyparsing==2.1.10
requests==2.13.0
six==1.10.0
thrift==0.10.0
thrift==0.9.3
subprocess32==3.2.7
kazoo==2.2.1
20 changes: 20 additions & 0 deletions setup.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
from setuptools import setup, find_packages
from pip.req import parse_requirements

# parse_requirements() returns generator of pip.req.InstallRequirement objects
install_reqs = parse_requirements('./requirements.txt', session='hack')

# reqs is a list of requirement
reqs = [str(ir.req) for ir in install_reqs]

setup(
name="he-emulator-client",
version="0.0.1",
packages=find_packages(),
install_requires=reqs,
include_package_data=True,
author="Vishal Gowda",
author_email="[email protected]",
description="This package contains the Thrift client for "\
"emulator endpoints",
)

0 comments on commit 8ff32dd

Please sign in to comment.