|
| 1 | +# Always prefer setuptools over distutils |
| 2 | +from setuptools import setup, find_packages |
| 3 | +# To use a consistent encoding |
| 4 | +from codecs import open |
| 5 | +from os import path |
| 6 | + |
| 7 | +here = path.abspath(path.dirname(__file__)) |
| 8 | + |
| 9 | +# Get the long description from the README file |
| 10 | +with open(path.join(here, 'README.md'), encoding='utf-8') as f: |
| 11 | + long_description = f.read() |
| 12 | + |
| 13 | +setup( |
| 14 | + name='disteval', |
| 15 | + |
| 16 | + # Versions should comply with PEP440. For a discussion on single-sourcing |
| 17 | + # the version across setup.py and the project code, see |
| 18 | + # https://packaging.python.org/en/latest/single_source_version.html |
| 19 | + version='0.0.1', |
| 20 | + |
| 21 | + description='A package to investigate missmatches and agreement in multivariate parameter distributions', |
| 22 | + long_description=long_description, |
| 23 | + |
| 24 | + # The project's main homepage. |
| 25 | + url='https://github.com/jebuss/pydisteval', |
| 26 | + |
| 27 | + # Author details |
| 28 | + author='Mathis Boerner, Jens Buss', |
| 29 | + |
| 30 | + |
| 31 | + # Choose your license |
| 32 | + license='MIT', |
| 33 | + |
| 34 | + # See https://pypi.python.org/pypi?%3Aaction=list_classifiers |
| 35 | + classifiers=[ |
| 36 | + # How mature is this project? Common values are |
| 37 | + # 3 - Alpha |
| 38 | + # 4 - Beta |
| 39 | + # 5 - Production/Stable |
| 40 | + 'Development Status :: 3 - Alpha', |
| 41 | + |
| 42 | + # Indicate who your project is intended for |
| 43 | + 'Intended Audience :: Developers', |
| 44 | + 'Topic :: Software Development :: Build Tools', |
| 45 | + |
| 46 | + # Pick your license as you wish (should match "license" above) |
| 47 | + 'License :: OSI Approved :: MIT License', |
| 48 | + |
| 49 | + # Specify the Python versions you support here. In particular, ensure |
| 50 | + # that you indicate whether you support Python 2, Python 3 or both. |
| 51 | + 'Programming Language :: Python :: 3', |
| 52 | + 'Programming Language :: Python :: 3.3', |
| 53 | + 'Programming Language :: Python :: 3.4', |
| 54 | + 'Programming Language :: Python :: 3.5', |
| 55 | + ], |
| 56 | + |
| 57 | + # What does your project relate to? |
| 58 | + keywords='multivariate distribution evaluation', |
| 59 | + |
| 60 | + # You can just specify the packages manually here if your project is |
| 61 | + # simple. Or you can use find_packages(). |
| 62 | + packages=find_packages(exclude=['contrib', 'docs', 'tests']), |
| 63 | + |
| 64 | + # Alternatively, if you want to distribute just a my_module.py, uncomment |
| 65 | + # this: |
| 66 | + # py_modules=["my_module"], |
| 67 | + |
| 68 | + # List run-time dependencies here. These will be installed by pip when |
| 69 | + # your project is installed. For an analysis of "install_requires" vs pip's |
| 70 | + # requirements files see: |
| 71 | + # https://packaging.python.org/en/latest/requirements.html |
| 72 | + install_requires=[ |
| 73 | + 'pandas', # in anaconda |
| 74 | + 'numpy', # in anaconda |
| 75 | + 'matplotlib>=1.4', # in anaconda |
| 76 | + 'sklearn-pandas', |
| 77 | + ], |
| 78 | + |
| 79 | + |
| 80 | + |
| 81 | + # If there are data files included in your packages that need to be |
| 82 | + # installed, specify them here. If using Python 2.6 or less, then these |
| 83 | + # have to be included in MANIFEST.in as well. |
| 84 | + # package_data={ |
| 85 | + # 'sample': ['package_data.dat'], |
| 86 | + # }, |
| 87 | + |
| 88 | + # Although 'package_data' is the preferred approach, in some case you may |
| 89 | + # need to place data files outside of your packages. See: |
| 90 | + # http://docs.python.org/3.4/distutils/setupscript.html#installing-additional-files # noqa |
| 91 | + # In this case, 'data_file' will be installed into '<sys.prefix>/my_data' |
| 92 | + # data_files=[('my_data', ['data/data_file'])], |
| 93 | + |
| 94 | + # To provide executable scripts, use entry points in preference to the |
| 95 | + # "scripts" keyword. Entry points provide cross-platform support and allow |
| 96 | + # pip to create the appropriate form of executable for the target platform. |
| 97 | + # entry_points={ |
| 98 | + # 'console_scripts': [ |
| 99 | + # 'sample=sample:main', |
| 100 | + # ], |
| 101 | + # }, |
| 102 | +) |
0 commit comments