-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
8 changed files
with
116 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
*.swp | ||
|
||
dist/ | ||
|
||
pyproject.egg-info/ | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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. | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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). | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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__) | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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!") | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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={ | ||
}, | ||
) | ||
|