Skip to content

Commit

Permalink
Dependency package builds have changed; Adjust accordingly (sonic-net#9)
Browse files Browse the repository at this point in the history
* Also add README.md
  • Loading branch information
jleveque committed Feb 25, 2017
1 parent 06ba40e commit 07a8b3a
Show file tree
Hide file tree
Showing 4 changed files with 51 additions and 7 deletions.
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
deb_dist/
*.egg-info/
43 changes: 43 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,43 @@
# SONiC: Software for Open Networking in the Cloud

## sonic-utilities

Command-line utilities for SONiC


# Contribution guide

All contributors must sign a contribution license agreement before contributions can be accepted. Contact kasubra@microsoft.com or daloher@microsoft.com. Later this will be automated.

### GitHub Workflow

We're following basic GitHub Flow. If you have no idea what we're talking about, check out [GitHub's official guide](https://guides.github.com/introduction/flow/). Note that merge is only performed by the repository maintainer.

Guide for performing commits:

* Isolate each commit to one component/bugfix/issue/feature
* Use a standard commit message format:

> [component/folder touched]: Description intent of your changes
>
> [List of changes]
>
> Signed-off-by: Your Name your@email.com
For example:

> swss-common: Stabilize the ConsumerTable
>
> * Fixing autoreconf
> * Fixing unit-tests by adding checkers and initialize the DB before start
> * Adding the ability to select from multiple channels
> * Health-Monitor - The idea of the patch is that if something went wrong with the notification channel,
> we will have the option to know about it (Query the LLEN table length).
>
> Signed-off-by: user@dev.null

* Each developer should fork this repository and [add the team as a Contributor](https://help.github.com/articles/adding-collaborators-to-a-personal-repository)
* Push your changes to your private fork and do "pull-request" to this repository
* Use a pull request to do code review
* Use issues to keep track of what is going on
5 changes: 5 additions & 0 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,11 @@
'show = sonic_cli.main:cli',
]
},
install_requires=[
'click',
'click-default-group',
'tabulate'
],
classifiers=[
'Development Status :: 3 - Alpha',
'Environment :: Console',
Expand Down
8 changes: 1 addition & 7 deletions stdeb.cfg
Original file line number Diff line number Diff line change
@@ -1,8 +1,2 @@
# Note: For this package, we are not able to specify dependencies in setup.py
# under "install_requires=[]" because when packaging as a .deb, stdeb adds a "python-"
# prefix to all dependencies and attempts to install via apt. Unfortunately,
# 'click-group-default' does not follow this naming convention, so we must use
# this stdeb.cfg file instead.

[DEFAULT]
Depends: python-click, click-default-group, python-tabulate, psmisc, grub2-common
Depends: psmisc, grub2-common

0 comments on commit 07a8b3a

Please sign in to comment.