-
Notifications
You must be signed in to change notification settings - Fork 5
/
Copy pathsetup.py
43 lines (39 loc) · 1.27 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
from setuptools import setup, find_packages
# Read the contents of your README file (optional)
with open("README.md", "r", encoding="utf-8") as fh:
long_description = fh.read()
with open("LICENSE", "r", encoding="utf-8") as fh:
license = fh.read()
with open("requirements.txt", "r", encoding="utf-8") as fh:
requirements_lines = fh.read().splitlines()
requirements = []
for item in requirements_lines:
requirements.append(item)
setup(
name="rocs",
version="1.0",
license=license,
author="Geoscience Australia",
author_email="[email protected]",
description="Orbit combination software",
long_description=long_description,
long_description_content_type="text/markdown",
url="https://github.com/your-repo/your-package",
packages=find_packages(), # Automatically find all packages
classifiers=[
"Programming Language :: Python :: 3",
f"License :: OSI Approved :: {license}",
"Operating System :: OS Independent",
],
python_requires=">=3.6", # Python version compatibility
install_requires=requirements,
entry_points={
"console_scripts": [
"rocs =rocs.__main__:main",
],
},
include_package_data=True,
package_data={
"": ["*.yaml"],
},
)