-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.py
47 lines (42 loc) · 1.83 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 setuptools
# Get requirements from requirements.txt, stripping the version tags
with open('requirements.txt') as f:
requires = [
r.split('/')[-1] if r.startswith('git+') else r
for r in f.read().splitlines()]
with open('extra_requirements/requirements-tests.txt') as f:
extra_requires = [
r.split('/')[-1] if r.startswith('git+') else r
for r in f.read().splitlines()]
with open('README.md') as file:
readme = file.read()
with open('HISTORY.md') as file:
history = file.read()
setuptools.setup(name='core_actions',
version='1.0.0',
description='Test package for trying out new github actiosn',
author='Joran',
url='https://github.com/jorana/action_tests',
long_description=readme + '\n\n' + history,
long_description_content_type="text/markdown",
setup_requires=['pytest-runner'],
install_requires=requires + extra_requires,
tests_require=requires + [
'pytest',
# 'hypothesis',
# 'boltons',
# 'flake8',
],
python_requires=">=3.8",
packages=setuptools.find_packages(),
scripts=[],
classifiers=[
'Development Status :: 4 - Beta',
'License :: OSI Approved :: BSD License',
'Natural Language :: English',
'Programming Language :: Python :: 3.6',
'Intended Audience :: Science/Research',
'Programming Language :: Python :: Implementation :: CPython',
'Topic :: Scientific/Engineering :: Physics',
],
zip_safe=False)