-
Notifications
You must be signed in to change notification settings - Fork 193
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
6 changed files
with
17 additions
and
38 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 |
---|---|---|
|
@@ -13,4 +13,5 @@ tmp* | |
env/ | ||
spike* | ||
petl.egg-info | ||
|
||
petl/version.py | ||
pip-wheel-metadata |
This file was deleted.
Oops, something went wrong.
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
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 @@ | ||
[build-system] | ||
requires = ["setuptools", "setuptools-scm", "wheel"] |
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,41 +1,33 @@ | ||
from __future__ import print_function, absolute_import, division | ||
|
||
|
||
from ast import literal_eval | ||
from setuptools import setup | ||
|
||
|
||
def get_version(source='petl/__init__.py'): | ||
with open(source) as f: | ||
for line in f: | ||
if line.startswith('__version__'): | ||
return literal_eval(line.split('=')[-1].lstrip()) | ||
raise ValueError("__version__ not found") | ||
from setuptools import setup, find_packages | ||
|
||
|
||
setup( | ||
name='petl', | ||
version=get_version(), | ||
author='Alistair Miles', | ||
author_email='[email protected]', | ||
package_dir={'': '.'}, | ||
packages=['petl', 'petl.io', 'petl.transform', 'petl.util', | ||
'petl.test', 'petl.test.io', 'petl.test.transform', | ||
'petl.test.util'], | ||
packages=find_packages('.'), | ||
scripts=['bin/petl'], | ||
url='https://github.com/alimanfoo/petl', | ||
url='https://github.com/petl-developers/petl', | ||
license='MIT License', | ||
description='A Python package for extracting, transforming and loading ' | ||
'tables of data.', | ||
long_description=open('README.txt').read(), | ||
python_requires='>=2.7, !=3.0.*, !=3.1.*, !=3.2.*, !=3.3.*', | ||
setup_requires=["setuptools>18.0", "setuptools-scm>1.5.4"], | ||
use_scm_version={ | ||
"version_scheme": "guess-next-dev", | ||
"local_scheme": "dirty-tag", | ||
"write_to": "petl/version.py", | ||
}, | ||
classifiers=['Intended Audience :: Developers', | ||
'License :: OSI Approved :: MIT License', | ||
'Programming Language :: Python :: 2', | ||
'Programming Language :: Python :: 2.7', | ||
'Programming Language :: Python :: 3', | ||
'Programming Language :: Python :: 3.4', | ||
'Programming Language :: Python :: 3.5', | ||
'Programming Language :: Python :: 3.6', | ||
'Programming Language :: Python :: 3.7', | ||
'Topic :: Software Development :: Libraries :: Python Modules' | ||
] | ||
) |
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,3 +2,4 @@ nose | |
tox | ||
coveralls | ||
coverage | ||
setuptools-scm |