Skip to content

Commit

Permalink
saw_021817_1 - Initial commit.
Browse files Browse the repository at this point in the history
  • Loading branch information
lannocc committed Feb 18, 2017
1 parent 8d13e49 commit fc4a34a
Show file tree
Hide file tree
Showing 8 changed files with 116 additions and 2 deletions.
6 changes: 6 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
*.swp

dist/

pyproject.egg-info/

5 changes: 5 additions & 0 deletions CHANGELOG
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
Copyright (C) 2017 Alpha Griffin
@%@~LICENSE~@%@

saw_021817_1 - Initial commit.

2 changes: 0 additions & 2 deletions README.md

This file was deleted.

8 changes: 8 additions & 0 deletions README.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@

Alpha Griffin Python Starter Project
====================================

Starting point for a Python project.

Clone/fork this to stay current with updates to the main build/install script (setup.py).

13 changes: 13 additions & 0 deletions ag/__init__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
# Copyright (C) 2017 Alpha Griffin
# @%@~LICENSE~@%@

"""
This package-init script currently simply handles namespace sharing.
(from http://github.com/google/protobuf)
"""

try:
__import__('pkg_resources').declare_namespace(__name__)
except ImportError:
__path__ = __import__('pkgutil').extend_path(__path__, __name__)

7 changes: 7 additions & 0 deletions ag/pyproject/__init__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
# Copyright (C) 2017 Alpha Griffin
# @%@~LICENSE~@%@

__version__ = '0.0.1'

print ("Sample Alpha Griffin project successfully installed!")

11 changes: 11 additions & 0 deletions setup.cfg
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
# Copyright (C) 2017 Alpha Griffin
# @%@~LICENSE~@%@
#
# Configuration script for setup.py

[bdist_wheel]
# This flag says that the code is written to work on both Python 2 and Python
# 3. If at all possible, it is good practice to do this. If you cannot, you
# will need to generate wheels for each Python version that you support.
universal=1

66 changes: 66 additions & 0 deletions setup.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,66 @@
#!/usr/bin/env python
#
# Copyright (C) 2017 Alpha Griffin
# @%@~LICENSE~@%@

"""AlphaGriffin setuptools build script.
@author lannocc
@see https://packaging.python.org/en/latest/distributing.html
@see https://github.com/pypa/sampleproject
Some of this script logic also taken from:
https://github.com/google/protobuf
"""

from setuptools import setup, find_packages
from codecs import open
from os import path

if __name__ == '__main__':

setup(

name='pyproject',
version='0.0.1',
license='AG', # FIXME

namespace_packages=['ag'], # home for Alpha Griffin libraries
packages=find_packages(exclude=['tests']),

author='Lannocc @ Alpha Griffin',
author_email='lannocc@alphagriffin.com',

description='Alpha Griffin Starter Python Project',
long_description=open('README.rst').read(),
url='http://alphagriffin.com',

# @see https://pypi.python.org/pypi?%3Aaction=list_classifiers
classifiers=[
'Development Status :: 3 - Alpha',
'Intended Audience :: Developers',
'Natural Language :: English',
'Programming Language :: Python',
'Topic :: System :: Installation/Setup',
'Topic :: Utilities'
],

# space-separated list of keywords
keywords='alphagriffin example utilities',

# run-time dependencies
install_requires=['setuptools'], # setuptools here for example only (it's implied)

extras_require={
},

package_data={
},

data_files=[],

entry_points={
},
)

0 comments on commit fc4a34a

Please sign in to comment.