Skip to content

Commit

Permalink
Project structure created.
Browse files Browse the repository at this point in the history
  • Loading branch information
mrakitin committed Jul 12, 2016
0 parents commit ddfc2ff
Show file tree
Hide file tree
Showing 15 changed files with 566 additions and 0 deletions.
63 changes: 63 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,63 @@
MANIFEST.in
tox.ini
pytest.ini
pykern_setup.yaml
.python-version
.#*
\#*

# Byte-compiled / optimized / DLL files
__pycache__/
*.py[cod]

# C extensions
*.so

# Distribution / packaging
.Python
env/
build/
develop-eggs/
dist/
downloads/
.eggs/
eggs/
lib/
lib64/
parts/
sdist/
var/
*.egg-info/
.installed.cfg
*.egg

# PyInstaller
# Usually these files are written by a python script from a template
# before PyInstaller builds the exe, so as to inject date/other infos into it.
*.manifest
*.spec

# Installer logs
pip-log.txt
pip-delete-this-directory.txt

# Unit test / coverage reports
htmlcov/
.tox/
.coverage
.cache
nosetests.xml
coverage.xml

# Translations
*.mo
*.pot

# Django stuff:
*.log

# Sphinx documentation
docs/_build/

# PyBuilder
target/
9 changes: 9 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
---
language: python
branches:
only:
- master
install:
- pip install -r requirements.txt
script:
- python setup.py pkdeploy
399 changes: 399 additions & 0 deletions LICENSE

Large diffs are not rendered by default.

13 changes: 13 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
### bnlcrl

CRL simulator

Learn more at https://github.com/mrakitin/bnlcrl.

Documentation: http://bnlcrl.readthedocs.org/en/latest/

#### License

License: http://www.apache.org/licenses/LICENSE-2.0.html

Copyright (c) 2016 mrakitin. All Rights Reserved.
1 change: 1 addition & 0 deletions bnlcrl/__init__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
#
21 changes: 21 additions & 0 deletions bnlcrl/bnlcrl_console.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
# -*- coding: utf-8 -*-
u"""Front-end command line for :mod:`bnlcrl`.
See :mod:`pykern.pkcli` for how this module is used.
:copyright: Copyright (c) 2016 mrakitin. All Rights Reserved.
:license: http://www.apache.org/licenses/LICENSE-2.0.html
"""
from __future__ import absolute_import, division, print_function

import sys

from pykern import pkcli


def main():
return pkcli.main('bnlcrl')


if __name__ == '__main__':
sys.exit(main())
Empty file added bnlcrl/package_data/.gitignore
Empty file.
1 change: 1 addition & 0 deletions bnlcrl/pkcli/__init__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
#
5 changes: 5 additions & 0 deletions docs/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
*
!.gitignore
!_static/
!_templates/
!index.rst
1 change: 1 addition & 0 deletions docs/_static/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
#
1 change: 1 addition & 0 deletions docs/_templates/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
#
17 changes: 17 additions & 0 deletions docs/index.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
Welcome to bnlcrl
=================

CRL simulator

.. toctree::
:maxdepth: 2

bnlcrl
modules

Indices and tables
==================

* :ref:`genindex`
* :ref:`modindex`
* :ref:`search`
1 change: 1 addition & 0 deletions requirements.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
pykern
33 changes: 33 additions & 0 deletions setup.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
# -*- coding: utf-8 -*-
u"""bnlcrl setup script
:copyright: Copyright (c) 2016 mrakitin. All Rights Reserved.
:license: http://www.apache.org/licenses/LICENSE-2.0.html
"""
try:
import pykern.pksetup
except ImportError:
import pip
pip.main(['install', 'pykern'])
import pykern.pksetup


pykern.pksetup.setup(
name='bnlcrl',
author='mrakitin',
author_email='[email protected]',
description='CRL simulator',
license='http://www.apache.org/licenses/LICENSE-2.0.html',
url='https://github.com/mrakitin/bnlcrl',
classifiers=[
'Development Status :: 2 - Pre-Alpha',
'Environment :: Console',
'Intended Audience :: Developers',
'License :: OSI Approved :: Apache Software License',
'Natural Language :: English',
'Programming Language :: Python :: 2',
'Programming Language :: Python :: 2.7',
'Programming Language :: Python',
'Topic :: Utilities',
],
)
1 change: 1 addition & 0 deletions tests/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
*_work

0 comments on commit ddfc2ff

Please sign in to comment.