-
Notifications
You must be signed in to change notification settings - Fork 38
/
setup.py
68 lines (54 loc) · 2.05 KB
/
setup.py
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
# -*- coding: utf-8 -*-
"""
Setup file for the mendeleev package.
"""
from setuptools import setup, find_packages
# Change these settings according to your needs
MAIN_PACKAGE = "mendeleev"
DESCRIPTION = "Python API with a database of atomic properties for elements in the periodic table"
LICENSE = "MIT"
URL = "https://bitbucket.org/lukaszmentel/mendeleev"
DOWNLOAD_URL = 'https://bitbucket.org/lukaszmentel/mendeleev/get/v0.3.4.tar.gz'
AUTHOR = "Lukasz Mentel"
EMAIL = "lmmentel@gmail.com"
VERSION = '0.3.4'
KEYWORDS = ['periodic', 'table', 'elements', 'atomic', 'properties',
'mendeleev']
CLASSIFIERS = ['Development Status :: 3 - Alpha',
'Environment :: Console',
'Intended Audience :: Science/Research',
'License :: OSI Approved :: MIT License',
'Natural Language :: English',
'Programming Language :: Python',
'Programming Language :: Python :: 2',
'Programming Language :: Python :: 3',
'Topic :: Scientific/Engineering :: Chemistry',
'Topic :: Scientific/Engineering :: Physics']
DEPENDENCIES = ['numpy', 'pandas', 'sqlalchemy']
def readme():
'''Return the contents of the README.rst file.'''
with open('README.rst') as freadme:
return freadme.read()
def setup_package():
setup(name=MAIN_PACKAGE,
version=VERSION,
url=URL,
download_url=DOWNLOAD_URL,
description=DESCRIPTION,
author=AUTHOR,
author_email=EMAIL,
include_package_data=True,
install_requires=DEPENDENCIES,
keywords=KEYWORDS,
license=LICENSE,
long_description=readme(),
classifiers=CLASSIFIERS,
packages=find_packages(exclude=['tests', 'tests.*']),
entry_points={
'console_scripts': [
'element.py = mendeleev.mendeleev:clielement',
'mdlvappdata = mendeleev.utils:get_app_data']
},
)
if __name__ == "__main__":
setup_package()