-
Notifications
You must be signed in to change notification settings - Fork 10
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Switched from distutils to setuptools and added entrypoint and some s…
…mall changes
- Loading branch information
Showing
6 changed files
with
64 additions
and
24 deletions.
There are no files selected for viewing
File renamed without changes.
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,3 +1,3 @@ | ||
__version__ = '0.1.0' | ||
__updated__ = "20.8.2014" | ||
__version__ = '0.1.1' | ||
__updated__ = "01.12.2014" | ||
__date__ = "20.8.2014" |
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,9 @@ | ||
#!/usr/bin/env python | ||
"""The main entry point. Invoke as `pygwas' or `python -m pygwas'. | ||
""" | ||
import sys | ||
from pygwas import main | ||
|
||
|
||
if __name__ == '__main__': | ||
sys.exit(main()) |
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,5 @@ | ||
[bdist_wheel] | ||
# This flag says that the code is written to work on both Python 2 and Python | ||
# 3. If at all possible, it is good practice to do this. If you cannot, you | ||
# will need to generate wheels for each Python version that you support. | ||
universal=1 |
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,18 +1,47 @@ | ||
from distutils.core import setup | ||
from setuptools import setup, find_packages # Always prefer setuptools over distutils | ||
from codecs import open # To use a consistent encoding | ||
from os import path | ||
import pygwas | ||
|
||
here = path.abspath(path.dirname(__file__)) | ||
|
||
# Get the long description from the relevant file | ||
with open(path.join(here, 'DESCRIPTION.rst'), encoding='utf-8') as f: | ||
long_description = f.read() | ||
|
||
setup( | ||
name='PyGWAS', | ||
version='0.1.0', | ||
version=pygwas.__version__, | ||
description='A GWAS library', | ||
long_description=long_description, | ||
url='https://github.com/pypa/pygwas', | ||
author='Uemit Seren', | ||
author_email='[email protected]', | ||
packages=['pygwas','pygwas.core'], | ||
url='http://pypi.python.org/pypi/pygwas/', | ||
license='LICENSE.txt', | ||
description='GWAS library', | ||
long_description=open('README.txt').read(), | ||
author_email='[email protected]', | ||
license='MIT', | ||
classifiers=[ | ||
'Development Status :: 5 - Production/Stable', | ||
'Intended Audience :: Developers', | ||
'Topic :: Scientific/Engineering :: Bio-Informatics', | ||
'License :: OSI Approved :: MIT License', | ||
'Programming Language :: Python :: 2', | ||
'Programming Language :: Python :: 2.6', | ||
'Programming Language :: Python :: 2.7', | ||
'Programming Language :: Python :: 3', | ||
'Programming Language :: Python :: 3.2', | ||
'Programming Language :: Python :: 3.3', | ||
'Programming Language :: Python :: 3.4', | ||
], | ||
keywords='GWAS', | ||
packages=find_packages(exclude=['contrib', 'docs', 'tests*']), | ||
install_requires=[ | ||
"numpy >=1.6.1", | ||
"scipy >=0.13.0", | ||
"h5py >=2.1.3", | ||
], | ||
entry_points={ | ||
'console_scripts': [ | ||
'pygwas=pygwas.__main__:main', | ||
], | ||
) | ||
}, | ||
) | ||
|