Skip to content
This repository was archived by the owner on Jul 18, 2025. It is now read-only.
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
[build-system]
requires = [
"setuptools>=42",
]
build-backend = "setuptools.build_meta"
42 changes: 42 additions & 0 deletions setup.cfg
Original file line number Diff line number Diff line change
@@ -0,0 +1,42 @@
[metadata]
name = ghdiff
version = 0.4
description = Generate Github-style HTML for unified diffs.
long_description_content_type=text/x-rst
long_description = file: README.rst
author = Patrick Strawderman
author_email = patrick@kilink.net
url = https://github.com/kilink/ghdiff
license = MIT
classifiers =
Development Status :: 5 - Production/Stable
Environment :: Console
Intended Audience :: Developers
Natural Language :: English
License :: OSI Approved :: MIT License
Programming Language :: Python
Programming Language :: Python :: 2
Programming Language :: Python :: 2.6
Programming Language :: Python :: 2.7
Programming Language :: Python :: 3
Programming Language :: Python :: 3.3
Programming Language :: Python :: 3.4
Framework :: IPython
Topic :: Software Development
Topic :: Utilities

[options]
include_package_data = True
package_dir = =src
py_modules =
ghdiff
ipython_magic
tests_require = zope.testrunner
install_requires =
six
chardet

[options.entry_points]
console_scripts =
ghdiff = ghdiff:main

40 changes: 1 addition & 39 deletions setup.py
Original file line number Diff line number Diff line change
@@ -1,40 +1,2 @@
from setuptools import setup

setup(
name="ghdiff",
version="0.4",
description="Generate Github-style HTML for unified diffs.",
long_description=open("README.rst").read(),
author="Patrick Strawderman",
author_email="patrick@kilink.net",
url="https://github.com/kilink/ghdiff",
license="MIT",
package_data={"": ["*.py", "*.txt", "*.css"]},
include_package_data=True,
package_dir={"": "src"},
py_modules=["ghdiff", "ipython_magic"],
tests_require=["zope.testrunner"],
install_requires=["six", "chardet"],
test_suite="tests.test_suite",
entry_points={
'console_scripts': [
"ghdiff = ghdiff:main"
]
},
classifiers=['Development Status :: 5 - Production/Stable',
'Environment :: Console',
'Intended Audience :: Developers',
'Natural Language :: English',
'License :: OSI Approved :: MIT License',
'Programming Language :: Python',
'Programming Language :: Python :: 2',
'Programming Language :: Python :: 2.6',
'Programming Language :: Python :: 2.7',
'Programming Language :: Python :: 3',
'Programming Language :: Python :: 3.3',
'Programming Language :: Python :: 3.4',
'Framework :: IPython',
'Topic :: Software Development',
'Topic :: Utilities',
],
)
setup()