-
Notifications
You must be signed in to change notification settings - Fork 2
/
setup.py
47 lines (42 loc) · 1.35 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
import re
import setuptools
with open("README.md", "r") as fh:
long_description = fh.read()
with open('requirements.txt', 'r') as f:
required = [re.sub(r'==.*', '', i) for i in f.read().splitlines()]
# date based versioning [YEAR].[MONTH]
setuptools.setup(
name='rasotools',
version='19.12',
description='RASO tools',
long_description=long_description,
long_description_content_type="text/markdown",
url='https://github.com/MBlaschek/rasotools',
author='MB',
author_email='[email protected]',
license='MIT',
classifiers=[
"Programming Language :: Python :: 3",
"License :: OSI Approved :: MIT License",
"Operating System :: OS Independent",
"Development Status :: 4 - Beta",
"Intended Audience :: Science/Research",
"Intended Audience :: Education",
"Topic :: Scientific/Engineering :: Atmospheric Science",
],
packages=setuptools.find_packages(),
include_package_data=True,
install_requires=required,
scripts=['bin/rsncnfo'],
entry_points={
'console_scripts': [
'rscf = rasotools.fun.cfconvention:main'
]
},
python_requires='>=3'
)
# Build and upload
# python3 setup.py bdist_wheel
# twine upload dist/* -r pypitest --verbose
# make requirements.txt
# pipreqs rasotools -> rasotools/requirements.txt