diff --git a/.gitignore b/.gitignore index f0072c52..70abbae2 100644 --- a/.gitignore +++ b/.gitignore @@ -2,4 +2,7 @@ structure.ods *.pyc *~ doc/ -src/ \ No newline at end of file +src/ +README.rst +FORD.egg-info/ +dist/ \ No newline at end of file diff --git a/MANIFEST.in b/MANIFEST.in index b2f2915b..e404723c 100644 --- a/MANIFEST.in +++ b/MANIFEST.in @@ -1,2 +1,3 @@ include README.md +include output-example.png recursive-include ford *.css *.js *.html *.svg *.png *.eot *.ttf *.woff *.gif \ No newline at end of file diff --git a/ford.py b/ford.py old mode 100644 new mode 100755 diff --git a/output-example.png b/output-example.png index 9e45154c..d0a75ee8 100644 Binary files a/output-example.png and b/output-example.png differ diff --git a/setup.cfg b/setup.cfg new file mode 100644 index 00000000..5aef279b --- /dev/null +++ b/setup.cfg @@ -0,0 +1,2 @@ +[metadata] +description-file = README.rst diff --git a/setup.py b/setup.py new file mode 100644 index 00000000..f42e758a --- /dev/null +++ b/setup.py @@ -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 = 'cmacmackin@gmail.com', + 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', + ], + } +)