Skip to content

Commit

Permalink
Finished refactoring FORD for use on PyPI. It is now available there.…
Browse files Browse the repository at this point in the history
… 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
cmacmackin committed Jan 12, 2015
1 parent 1d76628 commit 59eb10e
Show file tree
Hide file tree
Showing 6 changed files with 59 additions and 1 deletion.
5 changes: 4 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,7 @@ structure.ods
*.pyc
*~
doc/
src/
src/
README.rst
FORD.egg-info/
dist/
1 change: 1 addition & 0 deletions MANIFEST.in
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
Empty file modified ford.py
100644 → 100755
Empty file.
Binary file modified output-example.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2 changes: 2 additions & 0 deletions setup.cfg
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
[metadata]
description-file = README.rst
52 changes: 52 additions & 0 deletions setup.py
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',
],
}
)

0 comments on commit 59eb10e

Please sign in to comment.