Skip to content

Commit

Permalink
Added base files
Browse files Browse the repository at this point in the history
  • Loading branch information
ereOn committed Jan 30, 2015
1 parent b45e6e1 commit a65c663
Show file tree
Hide file tree
Showing 9 changed files with 88 additions and 1 deletion.
3 changes: 3 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -52,3 +52,6 @@ docs/_build/

# PyBuilder
target/

# Virtualenv
.pyfreelan
11 changes: 11 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
language: python
python:
- "2.7"
install:
- pip install -r dev_requirements.txt
- pip install --editable .
script: nosetests --with-coverage
notifications:
email:
on_success: change
on_failure: always
4 changes: 3 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,2 +1,4 @@
# pyfreelan
pyfreelan

A HTTP(s) client/server integration library for
[freelan](http://www.freelan.org).
1 change: 1 addition & 0 deletions VERSION
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
0.0.1
1 change: 1 addition & 0 deletions dev_requirements.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
nose >= 1.3, < 2
3 changes: 3 additions & 0 deletions pyfreelan/__init__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
"""
FreeLAN integration HTTP(S) client/server.
"""
17 changes: 17 additions & 0 deletions pyfreelan/main.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
"""
Entry points for pyfreelan.
"""


def server_main():
"""
The server entry point.
"""
pass


def client_main():
"""
The client entry point.
"""
pass
46 changes: 46 additions & 0 deletions setup.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,46 @@
from setuptools import (
setup,
find_packages,
)

setup(
name='pyfreelan',
url='http://pyfreelan.readthedocs.org/en/latest/index.html',
author='Julien Kauffmann',
author_email='[email protected]',
license='GPLv3',
version=open('VERSION').read().strip(),
description=(
"Provides HTTP(S) client/server features to the FreeLAN VPN software"
),
long_description="""\
pyfreelan is the default HTTP(S) client/server integration library for the
FreeLAN VPN software.
It can be used either through the freelan binary, or as a standalone
application.
""",
packages=find_packages(exclude=[
'tests',
]),
install_requires=[
'tornado >= 4.0, < 5',
],
entry_points={
'console_scripts': [
'pyfreelan_server = pyfreelan.main:server_main',
'pyfreelan_client = pyfreelan.main:client_main',
],
},
test_suite='tests',
classifiers=[
'Intended Audience :: Developers',
'Intended Audience :: System Administrators',
'Operating System :: MacOS :: MacOS X',
'Operating System :: Microsoft :: Windows',
'Operating System :: POSIX',
'Programming Language :: Python',
'Topic :: Software Development',
'License :: OSI Approved :: GNU General Public License v3 (GPLv3)',
],
)
3 changes: 3 additions & 0 deletions tests/__init__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
"""
pyfreelan tests.
"""

0 comments on commit a65c663

Please sign in to comment.