-
Notifications
You must be signed in to change notification settings - Fork 136
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Finished refactoring FORD for use on PyPI. It is now available there.…
… Note that I have spun my markdown-include module off as a dependancy. This is because, as it is also on PyPI, it is very easy to install it now.
- Loading branch information
1 parent
1d76628
commit 59eb10e
Showing
6 changed files
with
59 additions
and
1 deletion.
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 |
---|---|---|
|
@@ -2,4 +2,7 @@ structure.ods | |
*.pyc | ||
*~ | ||
doc/ | ||
src/ | ||
src/ | ||
README.rst | ||
FORD.egg-info/ | ||
dist/ |
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 |
---|---|---|
@@ -1,2 +1,3 @@ | ||
include README.md | ||
include output-example.png | ||
recursive-include ford *.css *.js *.html *.svg *.png *.eot *.ttf *.woff *.gif |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
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,2 @@ | ||
[metadata] | ||
description-file = README.rst |
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,52 @@ | ||
from setuptools import setup, find_packages | ||
from codecs import open # To use a consistent encoding | ||
from os import path | ||
|
||
here = path.abspath(path.dirname(__file__)) | ||
|
||
# Get the long description from the relevant file | ||
with open(path.join(here, 'README.rst'), encoding='utf-8') as f: | ||
long_description = f.read() | ||
|
||
setup( | ||
name = 'FORD', | ||
packages = ['ford'], | ||
include_package_data = True, | ||
version = '0.4', | ||
description = 'FORD, standing for FORtran Documenter, is an automatic documentation generator for modern Fortran programs.', | ||
long_description = long_description, | ||
author = 'Chris MacMackin', | ||
author_email = '[email protected]', | ||
url = 'https://github.com/cmacmackin/ford/', | ||
download_url = 'https://github.com/cmacmackin/ford/tarball/v0.4', | ||
keywords = ['Markdown', 'Fortran', 'documentation', 'comments'], | ||
classifiers=[ | ||
# How mature is this project? Common values are | ||
# 3 - Alpha | ||
# 4 - Beta | ||
# 5 - Production/Stable | ||
'Development Status :: 5 - Production/Stable', | ||
|
||
# Indicate who your project is intended for | ||
'Intended Audience :: Developers', | ||
'Topic :: Software Development :: Documentation', | ||
'Topic :: Text Processing :: Markup :: HTML', | ||
'Topic :: Documentation', | ||
'Topic :: Utilities', | ||
|
||
# Pick your license as you wish (should match "license" above) | ||
'License :: OSI Approved :: GNU General Public License v3 (GPLv3)', | ||
|
||
# Specify the Python versions you support here. In particular, ensure | ||
# that you indicate whether you support Python 2, Python 3 or both. | ||
'Programming Language :: Python :: 2', | ||
'Programming Language :: Python :: 2.7', | ||
], | ||
install_requires = ['markdown','markdown-include','toposort','jinja2', | ||
'pygments','beautifulsoup4'], | ||
entry_points = { | ||
'console_scripts': [ | ||
'ford=ford:main', | ||
], | ||
} | ||
) |